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 {
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
Definition: mulle-nvram.h:27
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition: mulle-nvram.h:31
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition: mulle-nvram.h:29
Generic non-volatile RAM driver interface.
Device descriptor for generic NVRAM devices.
Definition: nvram.h:47