uint16_t desig_get_flash_size(void)
Read the on board flash size.
#define FLASH_SR_WRPRTERR
void flash_clear_pgerr_flag(void)
Unlock the Flash Program and Erase Controller.
void flash_clear_wrprterr_flag(void)
Clear the Write Protect Error Status Flag.
void flash_clear_wrprterr_flag_upper(void)
Clear the Write Protect Error Status Flag, upper Bank.
void flash_lock_upper(void)
Lock the Flash Program and Erase Controller, upper Bank.
void flash_erase_page(uint32_t page_address)
Erase a Page of FLASH.
uint32_t flash_get_status_flags(void)
Read All Status Flags.
void flash_wait_for_last_operation(void)
Wait until Last Operation has Ended.
void flash_clear_pgerr_flag_upper(void)
Clear the Programming Error Status Flag, upper Bank.
void flash_clear_eop_flag(void)
Clear the End of OPeration flag.
void flash_halfcycle_disable(void)
Disable the FLASH Half Cycle Mode.
void flash_clear_status_flags(void)
Clear All Status Flags.
void flash_unlock_upper(void)
Unlock the Flash Program and Erase Controller, upper Bank.
void flash_halfcycle_enable(void)
Enable the FLASH Half Cycle Mode.
void flash_erase_all_pages(void)
Erase All FLASH.
void flash_clear_eop_flag_upper(void)
Clear the End of Operation Status Flag, upper Bank.
void flash_program_half_word(uint32_t address, uint16_t data)
Program a Half Word to FLASH.