ESP-IDF
esp_system_init_fn_t
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
esp_system_init_fn_t struct
Internal structure describing ESP_SYSTEM_INIT_FN startup functions
Syntax
Show:
Summary
Declaration
from
startup_internal.h:45
typedef
struct
{
esp_err_t
(
*
fn
)
(
void
)
;
uint16_t
cores
;
uint16_t
stage
;
}
esp_system_init_fn_t
;
Fields
Field
Declared as
Description
esp_system_init_fn_t::fn
esp_err_t
(
*
)
(
void
)
Pointer to the startup function.
esp_system_init_fn_t::cores
uint16_t
Bit mask of cores where the function has to be called.
esp_system_init_fn_t::stage
uint16_t
Init stage number (0 or 1).
Examples
References
from
examples
Code
Location
Referrer
typedef
struct
{
startup_internal.h:45
}
esp_system_init_fn_t
;
startup_internal.h:49
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
extern
esp_system_init_fn_t
_esp_system_init_fn_array_start
;
startup.c:122
do_system_init_fn()
extern
esp_system_init_fn_t
_esp_system_init_fn_array_end
;
startup.c:123
do_system_init_fn()
esp_system_init_fn_t
*
p
;
startup.c:125
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_t
;
startup_internal.h:49
esp_system_init_fn_t
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
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
Instance
Scope
Location
Project
_esp_system_init_fn_array_start
startup.c:122
_esp_system_init_fn_array_end
startup.c:123
Lifecycle
from
examples
All items filtered out
All items filtered out