libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/common/flash_common_all.h>
#include <libopencm3/stm32/common/flash_common_f.h>
#include <libopencm3/stm32/common/flash_common_idcache.h>
Go to the source code of this file.
Functions | |
void | flash_clear_progerr_flag (void) |
Clear the Programming Error Status Flag. More... | |
void | flash_clear_pgserr_flag (void) |
Clear the Programming Sequence Error Flag This flag is set when incorrect programming configuration has been made. More... | |
void | flash_clear_size_flag (void) |
Clear programming size error flag. More... | |
void | flash_clear_pgaerr_flag (void) |
Clear the Programming Alignment Error Flag. More... | |
void | flash_clear_wrperr_flag (void) |
Clear the Write Protect Error Flag. More... | |
void | flash_lock_option_bytes (void) |
Lock the Option Byte Access This disables write access to the option bytes. More... | |
void | flash_program_double_word (uint32_t address, uint64_t data) |
Program a 64 bit word to FLASH. More... | |
void | flash_program (uint32_t address, uint8_t *data, uint32_t len) |
Program a Data Block to FLASH This programs an arbitrary length data block to FLASH memory. More... | |
void | flash_erase_page (uint32_t page) |
Erase a page of FLASH. More... | |
void | flash_erase_all_pages (void) |
Erase All FLASH This performs all operations necessary to erase all sectors in the FLASH memory. More... | |
void | flash_program_option_bytes (uint32_t data) |
Program the Option Bytes This performs all operations necessary to program the option bytes. More... | |