Subversion Repositories DashDisplay

Rev

Rev 49 | Rev 56 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * nvram.h
  3.  *
  4.  *  Created on: 4 Jun 2017
  5.  *      Author: Mike
  6.  */
  7.  
  8. #pragma once
  9.  
  10. #if defined __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. extern void WriteUint16NVRAM(uint32_t Address, uint16_t data);
  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])
  18.  
  19. #if defined __cplusplus
  20. }
  21. #endif
  22.