Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
19
#ifndef MULLE_NVRAM_H
20
#define MULLE_NVRAM_H
21
22
#include "
nvram.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
typedef
enum
mulle_nvram_address
{
30
MULLE_NVRAM_MAGIC
= 0x0000,
32
MULLE_NVRAM_BOOT_COUNT
= 0x0004,
33
} mulle_nvram_address_t;
34
35
#define MULLE_NVRAM_MAGIC_EXPECTED (0x4c4c554dul)
/* == "MULL" in ASCII */
36
37
extern
nvram_t
*mulle_nvram;
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* MULLE_NVRAM_H */
mulle_nvram_address
mulle_nvram_address
Definition
mulle-nvram.h:28
MULLE_NVRAM_BOOT_COUNT
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition
mulle-nvram.h:32
MULLE_NVRAM_MAGIC
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition
mulle-nvram.h:30
nvram.h
Generic non-volatile RAM driver interface.
nvram
Device descriptor for generic NVRAM devices.
Definition
nvram.h:48
Generated on Fri Nov 15 2024 13:54:24 by
1.9.8