OpenOCD
FLASH_LOCK
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
FLASH_LOCK
FLASH_LOCK macro
Syntax
from
em357.c:50
#define
FLASH_LOCK
(
1
<
<
7
)
References
Location
Text
em357.c:50
#define
FLASH_LOCK
(
1
<
<
7
)
stm32f1x.c:70
#define
FLASH_LOCK
(
1
<
<
7
)
stm32f2x.c:150
#define
FLASH_LOCK
(
1
<
<
31
)
stm32g0x.c:73
#define
FLASH_LOCK
(
1
<
<
7
)
stm32g4x.c:88
#define
FLASH_LOCK
(
1
<
<
31
)
stm32h7x.c:38
#define
FLASH_LOCK
(
1
<
<
0
)
stm32l4x.h:35
#define
FLASH_LOCK
BIT
(
31
)
stm32l5x.c:139
#define
FLASH_LOCK
(
1
<
<
31
)
str7x.c:45
#define
FLASH_LOCK
0x00000010
em357.c:293
retval
=
target_write_u32
(
target
,
EM357_FLASH_CR
,
FLASH_LOCK
)
;
em357.c:376
retval
=
target_write_u32
(
target
,
EM357_FLASH_CR
,
FLASH_LOCK
)
;
em357.c:658
return
target_write_u32
(
target
,
EM357_FLASH_CR
,
FLASH_LOCK
)
;
em357.c:849
retval
=
target_write_u32
(
target
,
EM357_FLASH_CR
,
FLASH_LOCK
)
;
stm32f1x.c:285
target_write_u32
(
target
,
STM32_FLASH_CR_B0
,
FLASH_LOCK
)
;
stm32f1x.c:337
int
retval2
=
target_write_u32
(
target
,
STM32_FLASH_CR_B0
,
FLASH_LOCK
)
;
stm32f1x.c:407
int
retval2
=
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32f1x.c:727
retval2
=
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32f1x.c:1602
(
void
)
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32f1x.c:1644
int
retval2
=
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32f2x.c:324
if
(
(
ctrl
&
FLASH_LOCK
)
==
0
)
stm32f2x.c:340
if
(
ctrl
&
FLASH_LOCK
)
{
stm32f2x.c:647
retval
=
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32f2x.c:892
return
target_write_u32
(
target
,
STM32_FLASH_CR
,
FLASH_LOCK
)
;
stm32f2x.c:1544
retval
=
target_write_u32
(
target
,
stm32x_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32g4x.c:427
if
(
(
ctrl
&
FLASH_LOCK
)
==
0
)
stm32g4x.c:443
if
(
ctrl
&
FLASH_LOCK
)
{
stm32g4x.c:611
retval
=
stm32l4_write_flash_reg
(
bank
,
STM32_FLASH_CR
,
FLASH_LOCK
)
;
stm32g4x.c:791
return
stm32l4_write_flash_reg
(
bank
,
STM32_FLASH_CR
,
FLASH_LOCK
)
;
stm32g4x.c:975
retval
=
stm32l4_write_flash_reg
(
bank
,
STM32_FLASH_CR
,
FLASH_LOCK
)
;
stm32h7x.c:310
if
(
(
ctrl
&
FLASH_LOCK
)
==
0
)
stm32h7x.c:326
if
(
ctrl
&
FLASH_LOCK
)
{
stm32h7x.c:367
return
stm32x_write_flash_reg
(
bank
,
FLASH_CR
,
FLASH_LOCK
)
;
stm32l4x.c:968
if
(
(
ctrl
&
FLASH_LOCK
)
==
0
)
stm32l4x.c:984
if
(
ctrl
&
FLASH_LOCK
)
{
stm32l4x.c:1054
FLASH_LOCK
|
FLASH_OPTLOCK
)
;
stm32l4x.c:1101
FLASH_LOCK
|
FLASH_OPTLOCK
)
;
stm32l4x.c:1295
retval2
=
stm32l4_write_flash_reg_by_index
(
bank
,
stm32l4_get_flash_cr_with_lock_index
(
bank
)
,
FLASH_LOCK
)
;
stm32l4x.c:1700
retval2
=
stm32l4_write_flash_reg_by_index
(
bank
,
stm32l4_get_flash_cr_with_lock_index
(
bank
)
,
FLASH_LOCK
)
;
stm32l4x.c:2254
retval2
=
stm32l4_write_flash_reg_by_index
(
bank
,
stm32l4_get_flash_cr_with_lock_index
(
bank
)
,
FLASH_LOCK
)
;
stm32l5x.c:288
if
(
(
ctrl
&
FLASH_LOCK
)
==
0
)
stm32l5x.c:304
if
(
ctrl
&
FLASH_LOCK
)
{
stm32l5x.c:480
target
,
stm32l4_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32l5x.c:686
return
target_write_u32
(
target
,
stm32l4_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
stm32l5x.c:950
target
,
stm32l4_get_flash_reg
(
bank
,
STM32_FLASH_CR
)
,
FLASH_LOCK
)
;
str7x.c:197
str7x_info
->
busy_bits
=
(
FLASH_LOCK
|
FLASH_BSYA1
|
FLASH_BSYA0
)
;
str7x.c:204
str7x_info
->
busy_bits
=
(
FLASH_LOCK
|
FLASH_BSYA0
)
;