ESP-IDF
esp_system_init_fn_t::fn
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_system_init_fn_t::fn
esp_system_init_fn_t::fn field
Pointer to the startup function
Syntax
Show:
Summary
Declaration
from
startup_internal.h:46
esp_err_t
(
*
fn
)
(
void
)
;
Examples
References
from
examples
Code
Location
Referrer
esp_err_t
(
*
fn
)
(
void
)
;
/*!< Pointer to the startup function */
startup_internal.h:46
ESP_SYSTEM_INIT_FN
(
sysview_init
,
SECONDARY
,
BIT
(
0
)
,
120
)
SEGGER_RTT_esp.c:299
ESP_SYSTEM_INIT_FN
(
esp_apptrace_init
,
SECONDARY
,
ESP_SYSTEM_INIT_ALL_CORES
,
115
)
app_trace.c:78
ESP_SYSTEM_INIT_FN
(
init_dbg_stubs
,
SECONDARY
,
BIT
(
0
)
,
140
)
debug_stubs.c:97
ESP_SYSTEM_INIT_FN
(
init_show_app_info
,
CORE
,
BIT
(
0
)
,
20
)
esp_app_desc.c:122
ESP_SYSTEM_INIT_FN
(
init_efuse_check
,
CORE
,
BIT
(
0
)
,
1
)
esp_efuse_startup.c:36
ESP_SYSTEM_INIT_FN
(
init_efuse_show_app_info
,
CORE
,
BIT
(
0
)
,
21
)
esp_efuse_startup.c:46
ESP_SYSTEM_INIT_FN
(
init_efuse
,
CORE
,
BIT
(
0
)
,
140
)
esp_efuse_startup.c:144
ESP_SYSTEM_INIT_FN
(
add_psram_to_heap
,
CORE
,
BIT
(
0
)
,
103
)
esp_psram.c:93
ESP_SYSTEM_INIT_FN
(
esp_timer_init_os
,
SECONDARY
,
ESP_TIMER_INIT_MASK
,
100
)
esp_timer.c:565
ESP_SYSTEM_INIT_FN
(
esp_timer_init_nonos
,
CORE
,
BIT
(
0
)
,
101
)
esp_timer_init.c:27
ESP_SYSTEM_INIT_FN
(
init_heap
,
CORE
,
BIT
(
0
)
,
100
)
heap_caps_init.c:24
ESP_SYSTEM_INIT_FN
(
esp_security_init
,
SECONDARY
,
BIT
(
0
)
,
103
)
init.c:35
ESP_SYSTEM_INIT_FN
(
init_newlib
,
CORE
,
BIT
(
0
)
,
102
)
newlib_init.c:156
ESP_SYSTEM_INIT_FN
(
init_newlib_stdio
,
CORE
,
BIT
(
0
)
,
115
)
newlib_init.c:201
ESP_SYSTEM_INIT_FN
(
init_vfs_nullfs
,
CORE
,
BIT
(
0
)
,
113
)
nullfs.c:321
ESP_SYSTEM_INIT_FN
(
esp_sleep_startup_init
,
SECONDARY
,
BIT
(
0
)
,
105
)
sleep_gpio.c:193
ESP_EARLY_LOGD
(
TAG
,
"calling init function: %p on core: %d"
,
p
->
fn
,
core_id
)
;
startup.c:131
do_system_init_fn()
esp_err_t
err
=
(
*
(
p
->
fn
)
)
(
)
;
startup.c:132
do_system_init_fn()
ESP_EARLY_LOGE
(
TAG
,
"init function %p has failed (0x%x), aborting"
,
p
->
fn
,
err
)
;
startup.c:134
do_system_init_fn()
ESP_SYSTEM_INIT_FN
(
init_show_cpu_freq
,
CORE
,
BIT
(
0
)
,
10
)
startup_funcs.c:57
ESP_SYSTEM_INIT_FN
(
init_brownout
,
CORE
,
BIT
(
0
)
,
104
)
startup_funcs.c:66
ESP_SYSTEM_INIT_FN
(
init_newlib_time
,
CORE
,
BIT
(
0
)
,
105
)
startup_funcs.c:80
ESP_SYSTEM_INIT_FN
(
init_flash
,
CORE
,
BIT
(
0
)
,
130
)
startup_funcs.c:87
ESP_SYSTEM_INIT_FN
(
init_pm
,
SECONDARY
,
BIT
(
0
)
,
201
)
startup_funcs.c:116
ESP_SYSTEM_INIT_FN
(
init_coexist
,
SECONDARY
,
BIT
(
0
)
,
204
)
startup_funcs.c:133
ESP_SYSTEM_INIT_FN
(
init_disable_rtc_wdt
,
SECONDARY
,
BIT
(
0
)
,
999
)
startup_funcs.c:142
ESP_SYSTEM_INIT_FN
(
init_vfs_uart
,
CORE
,
BIT
(
0
)
,
110
)
uart_vfs.c:1145
ESP_SYSTEM_INIT_FN
(
init_vfs_console
,
CORE
,
BIT
(
0
)
,
114
)
vfs_console.c:246
Call Tree
from
examples
esp_system_init_fn_t::fn
is called by 1 function:
do_system_init_fn()
All items filtered out
esp_system_init_fn_t::fn
All items filtered out
Data Use
from
examples
esp_system_init_fn_t::fn
is read by 1 function:
All items filtered out
esp_system_init_fn_t::fn
do_system_init_fn()
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