Rev 49 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 49 | Rev 50 | ||
|---|---|---|---|
| Line 5... | Line 5... | ||
| 5 | * Author: Mike |
5 | * Author: Mike |
| 6 | */ |
6 | */ |
| 7 | 7 | ||
| 8 | #pragma once |
8 | #pragma once |
| 9 | 9 | ||
| - | 10 | #if defined __cplusplus |
|
| - | 11 | extern "C" { |
|
| - | 12 | #endif |
|
| - | 13 | ||
| 10 | extern void WriteUint16NVRAM(uint32_t Address, uint16_t data); |
14 | extern void WriteUint16NVRAM(uint32_t Address, uint16_t data); |
| 11 | // define a pointer to be set up by the linker, pointing at the NVRAM base address used for data |
15 | // define a pointer to be set up by the linker, pointing at the NVRAM base address used for data |
| 12 | 16 | ||
| 13 | #define NVRAM_BASE (uint8_t *)(&NVRAM_Base[0]) |
17 | #define NVRAM_BASE (uint8_t *)(&NVRAM_Base[0]) |
| - | 18 | ||
| - | 19 | #if defined __cplusplus |
|
| - | 20 | } |
|
| - | 21 | #endif |
|