Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
30 | mjames | 1 | /* |
2 | * nvram.h |
||
3 | * |
||
4 | * Created on: 4 Jun 2017 |
||
5 | * Author: Mike |
||
6 | */ |
||
7 | |||
8 | #pragma once |
||
9 | |||
50 | mjames | 10 | #if defined __cplusplus |
11 | extern "C" { |
||
12 | #endif |
||
13 | |||
31 | mjames | 14 | extern void WriteUint16NVRAM(uint32_t Address, uint16_t data); |
30 | mjames | 15 | // define a pointer to be set up by the linker, pointing at the NVRAM base address used for data |
16 | |||
56 | mjames | 17 | extern void WriteUint32NVRAM(uint32_t Address, uint32_t data); |
18 | |||
30 | mjames | 19 | #define NVRAM_BASE (uint8_t *)(&NVRAM_Base[0]) |
50 | mjames | 20 | |
21 | #if defined __cplusplus |
||
22 | } |
||
23 | #endif |