mulle-nvram.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2015 Eistec AB
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "nvram.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 typedef enum mulle_nvram_address {
29 } mulle_nvram_address_t;
30 
31 #define MULLE_NVRAM_MAGIC_EXPECTED (0x4c4c554dul) /* == "MULL" in ASCII */
32 
33 extern nvram_t *mulle_nvram;
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
mulle_nvram_address
Definition: mulle-nvram.h:24
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition: mulle-nvram.h:28
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition: mulle-nvram.h:26
Generic non-volatile RAM driver interface.
Device descriptor for generic NVRAM devices.
Definition: nvram.h:47