int NORFLASH_EraseDevice(void)
Erase entire flash device.
int NORFLASH_ProgramWord16(uint32_t addr, uint16_t data)
Program a word (16bit) in the flash device.
bool NORFLASH_AddressValid(uint32_t addr)
Check if an address is valid for the flash device.
int NORFLASH_Init(void)
Initialize the NORFLASH module.
NORFLASH_Status_TypeDef
NORFLASH status enumerator.
NORFLASH_Info_TypeDef * NORFLASH_DeviceInfo(void)
Return a pointer to a NORFLASH_Info_TypeDef, which contain vital flash device information.
int NORFLASH_ProgramByte(uint32_t addr, uint8_t data)
Program a single byte in the flash device.
int NORFLASH_EraseSector(uint32_t addr)
Erase a sector in the flash device.
NORFLASH device information struct.
int NORFLASH_ProgramWord32(uint32_t addr, uint32_t data)
Program a word (32bit) in the flash device.
int NORFLASH_Program(uint32_t addr, uint8_t *data, uint32_t count)
Program the flash device.