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
25extern "C" {
26#endif
27
28typedef enum mulle_nvram_address {
33} mulle_nvram_address_t;
34
35#define MULLE_NVRAM_MAGIC_EXPECTED (0x4c4c554dul) /* == "MULL" in ASCII */
36
37extern nvram_t *mulle_nvram;
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* MULLE_NVRAM_H */
mulle_nvram_address
Definition mulle-nvram.h:28
@ MULLE_NVRAM_BOOT_COUNT
Reboot counter.
Definition mulle-nvram.h:32
@ MULLE_NVRAM_MAGIC
NVRAM magic number, used to identify an initialized FRAM device.
Definition mulle-nvram.h:30
Generic non-volatile RAM driver interface.
Device descriptor for generic NVRAM devices.
Definition nvram.h:48