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 | |||
| 17 | #define NVRAM_BASE (uint8_t *)(&NVRAM_Base[0]) |
||
| 50 | mjames | 18 | |
| 19 | #if defined __cplusplus |
||
| 20 | } |
||
| 21 | #endif |