Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
{
26
MULLE_NVRAM_MAGIC
= 0x0000,
28
MULLE_NVRAM_BOOT_COUNT
= 0x0004,
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
mulle_nvram_address
Definition:
mulle-nvram.h:24
MULLE_NVRAM_BOOT_COUNT
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition:
mulle-nvram.h:28
MULLE_NVRAM_MAGIC
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition:
mulle-nvram.h:26
nvram.h
Generic non-volatile RAM driver interface.
nvram
Device descriptor for generic NVRAM devices.
Definition:
nvram.h:47
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1