ESP-IDF
osi_funcs_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
osi_funcs_t
osi_funcs_t struct
Syntax
Show:
Summary
Declaration
from
bt.c:122
struct
osi_funcs_t
{
uint32_t
_version
;
xt_handler
(
*
_set_isr
)
(
int
n
,
xt_handler
f
,
void
*
arg
)
;
void
(
*
_ints_on
)
(
unsigned
int
mask
)
;
void
(
*
_interrupt_disable
)
(
void
)
;
void
(
*
_interrupt_restore
)
(
void
)
;
void
(
*
_task_yield
)
(
void
)
;
void
(
*
_task_yield_from_isr
)
(
void
)
;
void
*
(
*
_semphr_create
)
(
uint32_t
max
,
uint32_t
init
)
;
void
(
*
_semphr_delete
)
(
void
*
semphr
)
;
int32_t
(
*
_semphr_take_from_isr
)
(
void
*
semphr
,
void
*
hptw
)
;
int32_t
(
*
_semphr_give_from_isr
)
(
void
*
semphr
,
void
*
hptw
)
;
int32_t
(
*
_semphr_take
)
(
void
*
semphr
,
uint32_t
block_time_ms
)
;
int32_t
(
*
_semphr_give
)
(
void
*
semphr
)
;
void
*
(
*
_mutex_create
)
(
void
)
;
void
(
*
_mutex_delete
)
(
void
*
mutex
)
;
int32_t
(
*
_mutex_lock
)
(
void
*
mutex
)
;
int32_t
(
*
_mutex_unlock
)
(
void
*
mutex
)
;
void
*
(
*
_queue_create
)
(
uint32_t
queue_len
,
uint32_t
item_size
)
;
void
(
*
_queue_delete
)
(
void
*
queue
)
;
int32_t
(
*
_queue_send
)
(
void
*
queue
,
void
*
item
,
uint32_t
block_time_ms
)
;
int32_t
(
*
_queue_send_from_isr
)
(
void
*
queue
,
void
*
item
,
void
*
hptw
)
;
int32_t
(
*
_queue_recv
)
(
void
*
queue
,
void
*
item
,
uint32_t
block_time_ms
)
;
int32_t
(
*
_queue_recv_from_isr
)
(
void
*
queue
,
void
*
item
,
void
*
hptw
)
;
int32_t
(
*
_task_create
)
(
void
*
task_func
,
const
char
*
name
,
uint32_t
stack_depth
,
void
*
param
,
uint32_t
prio
,
void
*
task_handle
,
uint32_t
core_id
)
;
void
(
*
_task_delete
)
(
void
*
task_handle
)
;
bool
(
*
_is_in_isr
)
(
void
)
;
int
(
*
_cause_sw_intr_to_core
)
(
int
core_id
,
int
intr_no
)
;
void
*
(
*
_malloc
)
(
size_t
size
)
;
void
*
(
*
_malloc_internal
)
(
size_t
size
)
;
void
(
*
_free
)
(
void
*
p
)
;
int32_t
(
*
_read_efuse_mac
)
(
uint8_t
mac
[
6
]
)
;
void
(
*
_srand
)
(
unsigned
int
seed
)
;
int
(
*
_rand
)
(
void
)
;
uint32_t
(
*
_btdm_lpcycles_2_us
)
(
uint32_t
cycles
)
;
uint32_t
(
*
_btdm_us_2_lpcycles
)
(
uint32_t
us
)
;
bool
(
*
_btdm_sleep_check_duration
)
(
uint32_t
*
slot_cnt
)
;
void
(
*
_btdm_sleep_enter_phase1
)
(
uint32_t
lpcycles
)
;
void
(
*
_btdm_sleep_enter_phase2
)
(
void
)
;
void
(
*
_btdm_sleep_exit_phase1
)
(
void
)
;
void
(
*
_btdm_sleep_exit_phase2
)
(
void
)
;
void
(
*
_btdm_sleep_exit_phase3
)
(
void
)
;
bool
(
*
_coex_bt_wakeup_request
)
(
void
)
;
void
(
*
_coex_bt_wakeup_request_end
)
(
void
)
;
int
(
*
_coex_bt_request
)
(
uint32_t
event
,
uint32_t
latency
,
uint32_t
duration
)
;
int
(
*
_coex_bt_release
)
(
uint32_t
event
)
;
int
(
*
_coex_register_bt_cb
)
(
coex_func_cb_t
cb
)
;
uint32_t
(
*
_coex_bb_reset_lock
)
(
void
)
;
void
(
*
_coex_bb_reset_unlock
)
(
uint32_t
restore
)
;
int
(
*
_coex_schm_register_btdm_callback
)
(
void
*
callback
)
;
void
(
*
_coex_schm_status_bit_clear
)
(
uint32_t
type
,
uint32_t
status
)
;
void
(
*
_coex_schm_status_bit_set
)
(
uint32_t
type
,
uint32_t
status
)
;
uint32_t
(
*
_coex_schm_interval_get
)
(
void
)
;
uint8_t
(
*
_coex_schm_curr_period_get
)
(
void
)
;
void
*
(
*
_coex_schm_curr_phase_get
)
(
void
)
;
int
(
*
_coex_wifi_channel_get
)
(
uint8_t
*
primary
,
uint8_t
*
secondary
)
;
int
(
*
_coex_register_wifi_channel_change_callback
)
(
void
*
cb
)
;
xt_handler
(
*
_set_isr_l3
)
(
int
n
,
xt_handler
f
,
void
*
arg
)
;
void
(
*
_interrupt_l3_disable
)
(
void
)
;
void
(
*
_interrupt_l3_restore
)
(
void
)
;
void
*
(
*
_customer_queue_create
)
(
uint32_t
queue_len
,
uint32_t
item_size
)
;
int
(
*
_coex_version_get
)
(
unsigned
int
*
major
,
unsigned
int
*
minor
,
unsigned
int
*
patch
)
;
void
(
*
_patch_apply
)
(
void
)
;
uint32_t
_magic
;
}
;
Fields
Field
Declared as
osi_funcs_t::_btdm_sleep_exit_phase3
void
(
*
)
(
void
)
osi_funcs_t::_coex_bt_wakeup_request
bool
(
*
)
(
void
)
osi_funcs_t::_coex_bt_wakeup_request_end
void
(
*
)
(
void
)
osi_funcs_t::_coex_bt_request
int
(
*
)
(
uint32_t
event
,
uint32_t
latency
,
uint32_t
duration
)
osi_funcs_t::_coex_bt_release
int
(
*
)
(
uint32_t
event
)
osi_funcs_t::_coex_register_bt_cb
int
(
*
)
(
coex_func_cb_t
cb
)
osi_funcs_t::_coex_bb_reset_lock
uint32_t
(
*
)
(
void
)
osi_funcs_t::_coex_bb_reset_unlock
void
(
*
)
(
uint32_t
restore
)
osi_funcs_t::_coex_schm_register_btdm_callback
int
(
*
)
(
void
*
callback
)
osi_funcs_t::_coex_schm_status_bit_clear
void
(
*
)
(
uint32_t
type
,
uint32_t
status
)
osi_funcs_t::_coex_schm_status_bit_set
void
(
*
)
(
uint32_t
type
,
uint32_t
status
)
osi_funcs_t::_coex_schm_interval_get
uint32_t
(
*
)
(
void
)
osi_funcs_t::_coex_schm_curr_period_get
uint8_t
(
*
)
(
void
)
osi_funcs_t::_coex_schm_curr_phase_get
void
*
(
*
)
(
void
)
osi_funcs_t::_coex_wifi_channel_get
int
(
*
)
(
uint8_t
*
primary
,
uint8_t
*
secondary
)
osi_funcs_t::_coex_register_wifi_channel_change_callback
int
(
*
)
(
void
*
cb
)
osi_funcs_t::_set_isr_l3
xt_handler
(
*
)
(
int
n
,
xt_handler
f
,
void
*
arg
)
osi_funcs_t::_interrupt_l3_disable
void
(
*
)
(
void
)
osi_funcs_t::_interrupt_l3_restore
void
(
*
)
(
void
)
osi_funcs_t::_customer_queue_create
void
*
(
*
)
(
uint32_t
queue_len
,
uint32_t
item_size
)
osi_funcs_t::_coex_version_get
int
(
*
)
(
unsigned
int
*
major
,
unsigned
int
*
minor
,
unsigned
int
*
patch
)
osi_funcs_t::_version
uint32_t
osi_funcs_t::_set_isr
xt_handler
(
*
)
(
int
n
,
xt_handler
f
,
void
*
arg
)
osi_funcs_t::_ints_on
void
(
*
)
(
unsigned
int
mask
)
osi_funcs_t::_interrupt_disable
void
(
*
)
(
void
)
osi_funcs_t::_interrupt_restore
void
(
*
)
(
void
)
osi_funcs_t::_task_yield
void
(
*
)
(
void
)
osi_funcs_t::_task_yield_from_isr
void
(
*
)
(
void
)
osi_funcs_t::_semphr_create
void
*
(
*
)
(
uint32_t
max
,
uint32_t
init
)
osi_funcs_t::_semphr_delete
void
(
*
)
(
void
*
semphr
)
osi_funcs_t::_semphr_take_from_isr
int32_t
(
*
)
(
void
*
semphr
,
void
*
hptw
)
osi_funcs_t::_semphr_give_from_isr
int32_t
(
*
)
(
void
*
semphr
,
void
*
hptw
)
osi_funcs_t::_semphr_take
int32_t
(
*
)
(
void
*
semphr
,
uint32_t
block_time_ms
)
osi_funcs_t::_semphr_give
int32_t
(
*
)
(
void
*
semphr
)
osi_funcs_t::_mutex_create
void
*
(
*
)
(
void
)
osi_funcs_t::_mutex_delete
void
(
*
)
(
void
*
mutex
)
osi_funcs_t::_mutex_lock
int32_t
(
*
)
(
void
*
mutex
)
osi_funcs_t::_mutex_unlock
int32_t
(
*
)
(
void
*
mutex
)
osi_funcs_t::_queue_create
void
*
(
*
)
(
uint32_t
queue_len
,
uint32_t
item_size
)
osi_funcs_t::_queue_delete
void
(
*
)
(
void
*
queue
)
osi_funcs_t::_queue_send
int32_t
(
*
)
(
void
*
queue
,
void
*
item
,
uint32_t
block_time_ms
)
osi_funcs_t::_queue_send_from_isr
int32_t
(
*
)
(
void
*
queue
,
void
*
item
,
void
*
hptw
)
osi_funcs_t::_queue_recv
int32_t
(
*
)
(
void
*
queue
,
void
*
item
,
uint32_t
block_time_ms
)
osi_funcs_t::_queue_recv_from_isr
int32_t
(
*
)
(
void
*
queue
,
void
*
item
,
void
*
hptw
)
osi_funcs_t::_task_create
int32_t
(
*
)
(
void
*
task_func
,
const
char
*
name
,
uint32_t
stack_depth
,
void
*
param
,
uint32_t
prio
,
void
*
task_handle
,
uint32_t
core_id
)
osi_funcs_t::_task_delete
void
(
*
)
(
void
*
task_handle
)
osi_funcs_t::_is_in_isr
bool
(
*
)
(
void
)
osi_funcs_t::_cause_sw_intr_to_core
int
(
*
)
(
int
core_id
,
int
intr_no
)
osi_funcs_t::_malloc
void
*
(
*
)
(
size_t
size
)
osi_funcs_t::_malloc_internal
void
*
(
*
)
(
size_t
size
)
osi_funcs_t::_free
void
(
*
)
(
void
*
p
)
osi_funcs_t::_read_efuse_mac
int32_t
(
*
)
(
uint8_t
mac
[
6
]
)
osi_funcs_t::_srand
void
(
*
)
(
unsigned
int
seed
)
osi_funcs_t::_rand
int
(
*
)
(
void
)
osi_funcs_t::_btdm_lpcycles_2_us
uint32_t
(
*
)
(
uint32_t
cycles
)
osi_funcs_t::_btdm_us_2_lpcycles
uint32_t
(
*
)
(
uint32_t
us
)
osi_funcs_t::_btdm_sleep_check_duration
bool
(
*
)
(
uint32_t
*
slot_cnt
)
osi_funcs_t::_btdm_sleep_enter_phase1
void
(
*
)
(
uint32_t
lpcycles
)
osi_funcs_t::_btdm_sleep_enter_phase2
void
(
*
)
(
void
)
osi_funcs_t::_btdm_sleep_exit_phase1
void
(
*
)
(
void
)
osi_funcs_t::_btdm_sleep_exit_phase2
void
(
*
)
(
void
)
osi_funcs_t::_patch_apply
void
(
*
)
(
void
)
osi_funcs_t::_magic
uint32_t
Examples
References
from
examples
Code
Location
Referrer
struct
osi_funcs_t
{
bt.c:122
static
const
struct
osi_funcs_t
osi_funcs_ro
=
{
bt.c:331
static
DRAM_ATTR
struct
osi_funcs_t
*
osi_funcs_p
;
bt.c:438
osi_funcs_p
osi_funcs_p
=
(
struct
osi_funcs_t
*
)
malloc_internal_wrapper
(
sizeof
(
struct
osi_funcs_t
)
)
;
bt.c:1624
esp_bt_controller_init()
memcpy
(
osi_funcs_p
,
&
osi_funcs_ro
,
sizeof
(
struct
osi_funcs_t
)
)
;
bt.c:1629
esp_bt_controller_init()
free
(
osi_funcs_p
)
;
bt.c:1762
bt_controller_deinit_internal()
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
osi_funcs_ro
bt.c:331
osi_funcs_p
bt.c:438
Lifecycle
from
examples
osi_funcs_t
is freed by 1 symbol:
All items filtered out
osi_funcs_t
bt_controller_deinit_internal()
All items filtered out