ESP-IDF
esp_flash_t::os_func_data
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_flash_t::os_func_data
esp_flash_t::os_func_data field
Syntax
Show:
Summary
Declaration
from
esp_flash.h:99
void
*
os_func_data
;
Examples
References
from
examples
Code
Location
Referrer
void
*
os_func_data
;
///< Pointer to argument for os-specific hooks. Left NULL and will be initialized with ``os_func``.
esp_flash.h:99
esp_err_t
err
=
chip
->
os_func
->
start
(
chip
->
os_func_data
)
;
esp_flash_api.c:188
spiflash_start_default()
esp_err_t
end_err
=
chip
->
os_func
->
end
(
chip
->
os_func_data
)
;
esp_flash_api.c:203
spiflash_end_default()
CHECK_WRITE_ADDRESS
(
chip
,
start
,
len
)
;
esp_flash_api.c:596
esp_flash_erase_region()
temp_buffer
=
chip
->
os_func
->
get_temp_buffer
(
chip
->
os_func_data
,
read_chunk_size
,
&
actual_len
)
;
esp_flash_api.c:876
esp_flash_read()
chip
->
os_func
->
release_temp_buffer
(
chip
->
os_func_data
,
temp_buffer
)
;
esp_flash_api.c:919
esp_flash_read()
CHECK_WRITE_ADDRESS
(
chip
,
address
,
length
)
;
esp_flash_api.c:1013
esp_flash_write()
CHECK_WRITE_ADDRESS
(
chip
,
address
,
length
)
;
esp_flash_api.c:1230
esp_flash_write_encrypted()
chip
->
os_func
->
start
(
chip
->
os_func_data
)
;
esp_flash_spi_init.c:141
cs_initialize()
chip
->
os_func
->
end
(
chip
->
os_func_data
)
;
esp_flash_spi_init.c:154
cs_initialize()
err
=
chip
->
os_func
->
check_yield
(
chip
->
os_func_data
,
flags
,
&
request
)
;
spi_flash_chip_generic.c:353
spi_flash_chip_generic_yield()
err
=
chip
->
os_func
->
yield
(
chip
->
os_func_data
,
&
status
)
;
spi_flash_chip_generic.c:358
spi_flash_chip_generic_yield()
chip
->
os_func
->
delay_us
(
chip
->
os_func_data
,
delay
)
;
spi_flash_chip_generic.c:385
spi_flash_chip_generic_wait_idle()
chip
->
os_func
->
delay_us
(
chip
->
os_func_data
,
delay
)
;
spi_flash_chip_generic.c:409
spi_flash_chip_generic_wait_idle()
chip
->
os_func_data
=
heap_caps_malloc
(
sizeof
(
app_func_arg_t
)
,
spi_flash_os_func_app.c:280
esp_flash_init_os_functions()
if
(
chip
->
os_func_data
==
NULL
)
{
spi_flash_os_func_app.c:282
esp_flash_init_os_functions()
*
(
app_func_arg_t
*
)
chip
->
os_func_data
=
(
app_func_arg_t
)
{
spi_flash_os_func_app.c:303
esp_flash_init_os_functions()
if
(
chip
->
os_func_data
)
{
spi_flash_os_func_app.c:313
esp_flash_deinit_os_functions()
*
out_dev_handle
=
(
(
app_func_arg_t
*
)
chip
->
os_func_data
)
->
dev_lock
;
spi_flash_os_func_app.c:315
esp_flash_deinit_os_functions()
free
(
chip
->
os_func_data
)
;
spi_flash_os_func_app.c:316
esp_flash_deinit_os_functions()
chip
->
os_func_data
=
NULL
;
spi_flash_os_func_app.c:319
esp_flash_deinit_os_functions()
chip
->
os_func_data
=
&
main_flash_arg
;
spi_flash_os_func_app.c:349
esp_flash_app_enable_os_functions()
if
(
chip
->
os_func_data
!=
NULL
)
{
spi_flash_os_func_app.c:359
esp_flash_set_dangerous_write_protection()
(
(
app_func_arg_t
*
)
chip
->
os_func_data
)
->
no_protect
=
!
protect
;
spi_flash_os_func_app.c:360
esp_flash_set_dangerous_write_protection()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_flash_t::os_func_data
is written by 3 functions and is read by 12 functions:
esp_flash_init_os_functions()
esp_flash_deinit_os_functions()
esp_flash_app_enable_os_functions()
All items filtered out
esp_flash_t::os_func_data
spi_flash_chip_generic_yield()
spi_flash_chip_generic_wait_idle()
spiflash_start_default()
spiflash_end_default()
esp_flash_erase_region()
esp_flash_read()
esp_flash_write()
esp_flash_write_encrypted()
cs_initialize()
esp_flash_init_os_functions()
esp_flash_deinit_os_functions()
esp_flash_set_dangerous_write_protection()
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