186 MMIO8(address) = data;
211 for (i = 0; i < len; i++) {
#define FLASH_CR_PROGRAM_X64
#define FLASH_CR_PROGRAM_X16
#define FLASH_CR_PROGRAM_X32
#define FLASH_CR_PROGRAM_X8
#define FLASH_OPTCR_OPTSTRT
#define FLASH_CR_PROGRAM_MASK
#define FLASH_CR_PROGRAM_SHIFT
#define FLASH_CR_SNB_MASK
#define FLASH_OPTCR_OPTLOCK
#define FLASH_CR_SNB_SHIFT
void flash_clear_pgperr_flag(void)
Clear programming parallelism error flag.
void flash_program_option_bytes(uint32_t data)
Program the Option Bytes.
void flash_lock_option_bytes(void)
Lock the Option Byte Access.
void flash_unlock_option_bytes(void)
Unlock the Option Byte Access.
void flash_erase_all_sectors(uint32_t program_size)
Erase All FLASH.
void flash_wait_for_last_operation(void)
Wait until Last Operation has Ended.
void flash_program_word(uint32_t address, uint32_t data)
Program a 32 bit Word to FLASH.
void flash_clear_pgaerr_flag(void)
Clear the Programming Alignment Error Flag.
void flash_program_double_word(uint32_t address, uint64_t data)
Program a 64 bit Word to FLASH.
static void flash_set_program_size(uint32_t psize)
Set the Program Parallelism Size.
void flash_erase_sector(uint8_t sector, uint32_t program_size)
Erase a Sector of FLASH.
void flash_clear_wrperr_flag(void)
Clear the Write Protect Error Flag.
void flash_program(uint32_t address, const uint8_t *data, uint32_t len)
Program a Data Block to FLASH.
void flash_program_byte(uint32_t address, uint8_t data)
Program an 8 bit Byte to FLASH.
void flash_program_half_word(uint32_t address, uint16_t data)
Program a Half Word to FLASH.
#define FLASH_SR
Flash Status register.
#define FLASH_CR
Flash Control register.
#define FLASH_OPTCR
Flash Option Control register.