|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/flash.h>
Go to the source code of this file.
Functions | |
| static void | flash_set_program_size (uint32_t psize) |
| Set the Program Parallelism Size. More... | |
| void | flash_clear_pgaerr_flag (void) |
| Clear the Programming Alignment Error Flag. More... | |
| void | flash_clear_pgperr_flag (void) |
| Clear programming parallelism 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. More... | |
| void | flash_program_double_word (uint32_t address, uint64_t data) |
| Program a 64 bit Word to FLASH. More... | |
| void | flash_program_word (uint32_t address, uint32_t data) |
| Program a 32 bit Word to FLASH. More... | |
| void | flash_program_half_word (uint32_t address, uint16_t data) |
| Program a Half Word to FLASH. More... | |
| void | flash_program_byte (uint32_t address, uint8_t data) |
| Program an 8 bit Byte to FLASH. More... | |
| void | flash_program (uint32_t address, const uint8_t *data, uint32_t len) |
| Program a Data Block to FLASH. More... | |
| void | flash_erase_sector (uint8_t sector, uint32_t program_size) |
| Erase a Sector of FLASH. More... | |
| void | flash_erase_all_sectors (uint32_t program_size) |
| Erase All FLASH. More... | |
| void | flash_program_option_bytes (uint32_t data) |
| Program the Option Bytes. More... | |