244 #define NVM_FLASH_PAGE_COUNT (1)
253 #define NVM_DATA_SIZE_B (MFB_PAGE_SIZE_B*NVM_FLASH_PAGE_COUNT)
254 #if ((NVM_DATA_SIZE_B%MFB_PAGE_SIZE_B) != 0)
255 #error Illegal NVM data storage size. NVM_DATA_SIZE_B must be a multiple of MFB_PAGE_SIZE_B.
263 #define NVM_LEFT_PAGE ((uint32_t)nvmStorageLeft)
270 #define NVM_RIGHT_PAGE ((uint32_t)nvmStorageRight)
278 #define NVM_MGMT_SIZE_B (4)
uint16_t * halCommonGetAddressFromNvm(uint32_t offset)
Return the address of the token in NVM.
uint8_t halCommonWriteToNvm(const void *data, uint32_t offset, uint16_t length)
Write the NVM data from the provided location RAM into flash.
uint8_t halCommonReadFromNvm(void *data, uint32_t offset, uint16_t length)
Copy the NVM data from flash into the provided RAM location.
Data definitions for the Cortex-M3 Non-Volatile Memory data storage system.
STM32W108 series memory map definitions used by the full hal.