stm32l4_write_option() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDstm32l4_write_option()

stm32l4_write_option() function

Syntax

static int stm32l4_write_option(struct flash_bank *bank,     uint32_t reg_offset,     uint32_t value,     uint32_t mask);

Arguments

bank

reg_offset

value

mask

References

LocationReferrerText
stm32g4x.c:483
static int stm32l4_write_option(struct flash_bank *bank, uint32_t reg_offset, uint32_t value, uint32_t mask)
stm32g4x.c:638stm32l4_protect()
ret = stm32l4_write_option(bank, STM32_FLASH_WRP2AR, reg_value, 0xffffffff);
stm32g4x.c:648stm32l4_protect()
ret = stm32l4_write_option(bank, STM32_FLASH_WRP1AR, reg_value, 0xffffffff);
stm32g4x.c:1062stm32l4_handle_option_write_command()
retval = stm32l4_write_option(bank, reg_offset, value, mask);
stm32g4x.c:1112stm32l4_handle_lock_command()
if (stm32l4_write_option(bank, STM32_FLASH_OPTR, 0, 0x000000FF) != ERROR_OK) {
stm32g4x.c:1139stm32l4_handle_unlock_command()
if (stm32l4_write_option(bank, STM32_FLASH_OPTR, RDP_LEVEL_0, 0x000000FF) != ERROR_OK) {

Call Tree

Data read by stm32l4_write_option()
Data written by stm32l4_write_option()
stm32l4_write_option()::optiondata
stm32l4_write_option()::retval
all items filtered out
stm32l4_write_option()
stm32l4_write_option()::optiondata
stm32l4_write_option()::retval
all items filtered out
Type of stm32l4_write_option()
stm32l4_write_option()
uint32_t
all items filtered out