ESP-IDF
CHECK_WRITE_ADDRESS
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
CHECK_WRITE_ADDRESS
CHECK_WRITE_ADDRESS macro
Syntax
Show:
Summary
Declaration
from
esp_flash_api.c:50
#define
CHECK_WRITE_ADDRESS
(
CHIP
,
ADDR
,
SIZE
)
do
{
\
if
(
CHIP
&&
CHIP
->
os_func
->
region_protected
)
{
\
esp_err_t
ret
=
CHIP
->
os_func
->
region_protected
(
CHIP
->
os_func_data
,
ADDR
,
SIZE
)
;
\
if
(
ret
==
ESP_ERR_NOT_ALLOWED
)
{
\
return
ret
;
\
}
else
if
(
ret
!=
ESP_OK
)
{
\
UNSAFE_WRITE_ADDRESS
;
\
}
\
}
\
}
while
(
0
)
Arguments
Argument
CHIP
ADDR
SIZE
Examples
References
from
examples
Code
Location
#define
CHECK_WRITE_ADDRESS
(
CHIP
,
ADDR
,
SIZE
)
do
{
\
esp_flash_api.c:50
CHECK_WRITE_ADDRESS
(
chip
,
start
,
len
)
;
esp_flash_api.c:596
CHECK_WRITE_ADDRESS
(
chip
,
address
,
length
)
;
esp_flash_api.c:1013
CHECK_WRITE_ADDRESS
(
chip
,
address
,
length
)
;
esp_flash_api.c:1230
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out