19 #define FLASH_GPNVM_SECURITY_BIT 0 20 #define FLASH_GPNVM_BOOTMODE_BIT 1 // clear:ROM, set:Flash 28 uint32_t
flash_update_block(uint32_t address,
const void* newData,
int dataSize,
int noPageErase);
uint32_t flash_erase_block(uint32_t address)
uint32_t flash_update_block(uint32_t address, const void *newData, int dataSize, int noPageErase)
uint32_t flash_set_user_signature(const volatile void *ptr, uint32_t size)
uint32_t flash_get_user_signature(volatile void *ptr, uint32_t size)
void flash_erase_chip(void)
int flash_write_in_progress(void)