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 | |
void | flash_wait_for_last_operation (void) |
Wait until Last Flash Operation has Ended. More... | |
void | flash_program_double_word (uint32_t address, uint64_t data) |
Program a 64bits word to FLASH. More... | |
void | flash_program (uint32_t address, uint8_t *data, uint32_t len) |
Program a Data Block to FLASH. 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_clear_pgserr_flag (void) |
Clear the Programming Sequence Error Flag. More... | |
void | flash_clear_eop_flag (void) |
Clear the End of Operation Flag. 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 Protected Error Flag. More... | |
void | flash_clear_progerr_flag (void) |
Clear the Programming Error Status Flag. More... | |
void | flash_clear_operr_flag (void) |
Clear the Operation Error Status Flag. More... | |
void | flash_clear_status_flags (void) |
Clear All Status Flags. More... | |
void | flash_icache_enable (void) |
Enable instruction cache. More... | |
void | flash_icache_disable (void) |
Disable instruction cache. More... | |
void | flash_icache_reset (void) |
Reset instruction cache. More... | |
void | flash_unlock_progmem (void) |
Unlock program memory. More... | |
void | flash_lock_progmem (void) |
lock program memory More... | |
void | flash_lock_option_bytes (void) |
Lock Option Byte Access. More... | |
void | flash_unlock (void) |
Unlock the Flash Program and Erase Controller This enables write access to the Flash memory. More... | |
void | flash_lock (void) |
Lock the Flash Program and Erase Controller Used to prevent spurious writes to FLASH. More... | |