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 #ifndef MULLE_NVRAM_H
10 #define MULLE_NVRAM_H
11 
12 #include "nvram.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
28 typedef enum mulle_nvram_address {
33 } mulle_nvram_address_t;
34 
35 #define MULLE_NVRAM_MAGIC_EXPECTED (0x4c4c554dul) /* == "MULL" in ASCII */
36 
37 extern nvram_t *mulle_nvram;
38 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* MULLE_NVRAM_H */
Generic non-volatile RAM driver interface.
mulle_nvram_address
Definition: mulle-nvram.h:28
Device descriptor for generic NVRAM devices.
Definition: nvram.h:48
NVRAM magic number, used to identify an initialized FRAM device.
Definition: mulle-nvram.h:30
Reboot counter.
Definition: mulle-nvram.h:32