libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
flash_common_f.h File Reference
Include dependency graph for flash_common_f.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void flash_clear_eop_flag (void)
 Clear the End of OPeration flag. More...
 
void flash_clear_status_flags (void)
 Clear all status flags. More...
 
void flash_wait_for_last_operation (void)
 Wait until Last Operation has Ended. More...
 

Function Documentation

◆ flash_clear_status_flags()

void flash_clear_status_flags ( void  )

Clear all status flags.

The number of bits can vary across families.

◆ flash_wait_for_last_operation()

void flash_wait_for_last_operation ( void  )

Wait until Last Operation has Ended.

This loops indefinitely until an operation (write or erase) has completed by testing the busy flag

Referenced by flash_erase_all_sectors(), flash_erase_sector(), flash_program_byte(), flash_program_double_word(), flash_program_half_word(), flash_program_option_bytes(), and flash_program_word().

Here is the caller graph for this function: