Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
mulle-nvram.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Eistec AB
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
9
#pragma once
10
21
#include "
nvram.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
typedef
enum
mulle_nvram_address
{
29
MULLE_NVRAM_MAGIC
= 0x0000,
31
MULLE_NVRAM_BOOT_COUNT
= 0x0004,
32
} mulle_nvram_address_t;
33
34
#define MULLE_NVRAM_MAGIC_EXPECTED (0x4c4c554dul)
/* == "MULL" in ASCII */
35
36
extern
nvram_t
*mulle_nvram;
37
38
#ifdef __cplusplus
39
}
40
#endif
41
mulle_nvram_address
mulle_nvram_address
Definition:
mulle-nvram.h:27
MULLE_NVRAM_BOOT_COUNT
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition:
mulle-nvram.h:31
MULLE_NVRAM_MAGIC
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition:
mulle-nvram.h:29
nvram.h
Generic non-volatile RAM driver interface.
nvram
Device descriptor for generic NVRAM devices.
Definition:
nvram.h:47
Generated on Mon Jun 30 2025 18:46:44 by
1.9.1