ESP-IDF
npl_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
npl_funcs_t
npl_funcs_t struct
Syntax
Show:
Summary
Declaration
from
nimble_npl_os.h:91
struct
npl_funcs_t
{
bool
(
*
p_ble_npl_os_started
)
(
void
)
;
void
*
(
*
p_ble_npl_get_current_task_id
)
(
void
)
;
void
(
*
p_ble_npl_eventq_init
)
(
struct
ble_npl_eventq
*
)
;
void
(
*
p_ble_npl_eventq_deinit
)
(
struct
ble_npl_eventq
*
)
;
struct
ble_npl_event
*
(
*
p_ble_npl_eventq_get
)
(
struct
ble_npl_eventq
*
,
ble_npl_time_t
)
;
void
(
*
p_ble_npl_eventq_put
)
(
struct
ble_npl_eventq
*
,
struct
ble_npl_event
*
)
;
void
(
*
p_ble_npl_eventq_remove
)
(
struct
ble_npl_eventq
*
,
struct
ble_npl_event
*
)
;
void
(
*
p_ble_npl_event_run
)
(
struct
ble_npl_event
*
)
;
bool
(
*
p_ble_npl_eventq_is_empty
)
(
struct
ble_npl_eventq
*
)
;
void
(
*
p_ble_npl_event_init
)
(
struct
ble_npl_event
*
,
ble_npl_event_fn
*
,
void
*
)
;
void
(
*
p_ble_npl_event_deinit
)
(
struct
ble_npl_event
*
)
;
void
(
*
p_ble_npl_event_reset
)
(
struct
ble_npl_event
*
)
;
bool
(
*
p_ble_npl_event_is_queued
)
(
struct
ble_npl_event
*
)
;
void
*
(
*
p_ble_npl_event_get_arg
)
(
struct
ble_npl_event
*
)
;
void
(
*
p_ble_npl_event_set_arg
)
(
struct
ble_npl_event
*
,
void
*
)
;
ble_npl_error_t
(
*
p_ble_npl_mutex_init
)
(
struct
ble_npl_mutex
*
)
;
ble_npl_error_t
(
*
p_ble_npl_mutex_deinit
)
(
struct
ble_npl_mutex
*
)
;
ble_npl_error_t
(
*
p_ble_npl_mutex_pend
)
(
struct
ble_npl_mutex
*
,
ble_npl_time_t
)
;
ble_npl_error_t
(
*
p_ble_npl_mutex_release
)
(
struct
ble_npl_mutex
*
)
;
ble_npl_error_t
(
*
p_ble_npl_sem_init
)
(
struct
ble_npl_sem
*
,
uint16_t
)
;
ble_npl_error_t
(
*
p_ble_npl_sem_deinit
)
(
struct
ble_npl_sem
*
)
;
ble_npl_error_t
(
*
p_ble_npl_sem_pend
)
(
struct
ble_npl_sem
*
,
ble_npl_time_t
)
;
ble_npl_error_t
(
*
p_ble_npl_sem_release
)
(
struct
ble_npl_sem
*
)
;
uint16_t
(
*
p_ble_npl_sem_get_count
)
(
struct
ble_npl_sem
*
)
;
int
(
*
p_ble_npl_callout_init
)
(
struct
ble_npl_callout
*
,
struct
ble_npl_eventq
*
,
ble_npl_event_fn
*
,
void
*
)
;
ble_npl_error_t
(
*
p_ble_npl_callout_reset
)
(
struct
ble_npl_callout
*
,
ble_npl_time_t
)
;
void
(
*
p_ble_npl_callout_stop
)
(
struct
ble_npl_callout
*
)
;
void
(
*
p_ble_npl_callout_deinit
)
(
struct
ble_npl_callout
*
)
;
void
(
*
p_ble_npl_callout_mem_reset
)
(
struct
ble_npl_callout
*
)
;
bool
(
*
p_ble_npl_callout_is_active
)
(
struct
ble_npl_callout
*
)
;
ble_npl_time_t
(
*
p_ble_npl_callout_get_ticks
)
(
struct
ble_npl_callout
*
)
;
uint32_t
(
*
p_ble_npl_callout_remaining_ticks
)
(
struct
ble_npl_callout
*
,
ble_npl_time_t
)
;
void
(
*
p_ble_npl_callout_set_arg
)
(
struct
ble_npl_callout
*
,
void
*
)
;
uint32_t
(
*
p_ble_npl_time_get
)
(
void
)
;
ble_npl_error_t
(
*
p_ble_npl_time_ms_to_ticks
)
(
uint32_t
ms
,
ble_npl_time_t
*
)
;
ble_npl_error_t
(
*
p_ble_npl_time_ticks_to_ms
)
(
ble_npl_time_t
,
uint32_t
*
)
;
ble_npl_time_t
(
*
p_ble_npl_time_ms_to_ticks32
)
(
uint32_t
)
;
uint32_t
(
*
p_ble_npl_time_ticks_to_ms32
)
(
ble_npl_time_t
)
;
void
(
*
p_ble_npl_time_delay
)
(
ble_npl_time_t
)
;
void
(
*
p_ble_npl_hw_set_isr
)
(
int
,
uint32_t
)
;
uint32_t
(
*
p_ble_npl_hw_enter_critical
)
(
void
)
;
void
(
*
p_ble_npl_hw_exit_critical
)
(
uint32_t
)
;
uint32_t
(
*
p_ble_npl_get_time_forever
)
(
void
)
;
uint8_t
(
*
p_ble_npl_hw_is_in_critical
)
(
void
)
;
}
;
Fields
Field
Declared as
npl_funcs_t::p_ble_npl_mutex_deinit
ble_npl_error_t
(
*
)
(
struct
ble_npl_mutex
*
)
npl_funcs_t::p_ble_npl_mutex_pend
ble_npl_error_t
(
*
)
(
struct
ble_npl_mutex
*
,
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_mutex_release
ble_npl_error_t
(
*
)
(
struct
ble_npl_mutex
*
)
npl_funcs_t::p_ble_npl_sem_init
ble_npl_error_t
(
*
)
(
struct
ble_npl_sem
*
,
uint16_t
)
npl_funcs_t::p_ble_npl_sem_deinit
ble_npl_error_t
(
*
)
(
struct
ble_npl_sem
*
)
npl_funcs_t::p_ble_npl_sem_pend
ble_npl_error_t
(
*
)
(
struct
ble_npl_sem
*
,
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_sem_release
ble_npl_error_t
(
*
)
(
struct
ble_npl_sem
*
)
npl_funcs_t::p_ble_npl_sem_get_count
uint16_t
(
*
)
(
struct
ble_npl_sem
*
)
npl_funcs_t::p_ble_npl_callout_init
int
(
*
)
(
struct
ble_npl_callout
*
,
struct
ble_npl_eventq
*
,
ble_npl_event_fn
*
,
void
*
)
npl_funcs_t::p_ble_npl_callout_reset
ble_npl_error_t
(
*
)
(
struct
ble_npl_callout
*
,
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_callout_stop
void
(
*
)
(
struct
ble_npl_callout
*
)
npl_funcs_t::p_ble_npl_callout_deinit
void
(
*
)
(
struct
ble_npl_callout
*
)
npl_funcs_t::p_ble_npl_callout_mem_reset
void
(
*
)
(
struct
ble_npl_callout
*
)
npl_funcs_t::p_ble_npl_callout_is_active
bool
(
*
)
(
struct
ble_npl_callout
*
)
npl_funcs_t::p_ble_npl_callout_get_ticks
ble_npl_time_t
(
*
)
(
struct
ble_npl_callout
*
)
npl_funcs_t::p_ble_npl_callout_remaining_ticks
uint32_t
(
*
)
(
struct
ble_npl_callout
*
,
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_callout_set_arg
void
(
*
)
(
struct
ble_npl_callout
*
,
void
*
)
npl_funcs_t::p_ble_npl_os_started
bool
(
*
)
(
void
)
npl_funcs_t::p_ble_npl_get_current_task_id
void
*
(
*
)
(
void
)
npl_funcs_t::p_ble_npl_eventq_init
void
(
*
)
(
struct
ble_npl_eventq
*
)
npl_funcs_t::p_ble_npl_eventq_deinit
void
(
*
)
(
struct
ble_npl_eventq
*
)
npl_funcs_t::p_ble_npl_eventq_get
struct
ble_npl_event
*
(
*
)
(
struct
ble_npl_eventq
*
,
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_eventq_put
void
(
*
)
(
struct
ble_npl_eventq
*
,
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_eventq_remove
void
(
*
)
(
struct
ble_npl_eventq
*
,
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_event_run
void
(
*
)
(
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_eventq_is_empty
bool
(
*
)
(
struct
ble_npl_eventq
*
)
npl_funcs_t::p_ble_npl_event_init
void
(
*
)
(
struct
ble_npl_event
*
,
ble_npl_event_fn
*
,
void
*
)
npl_funcs_t::p_ble_npl_event_deinit
void
(
*
)
(
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_event_reset
void
(
*
)
(
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_event_is_queued
bool
(
*
)
(
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_event_get_arg
void
*
(
*
)
(
struct
ble_npl_event
*
)
npl_funcs_t::p_ble_npl_event_set_arg
void
(
*
)
(
struct
ble_npl_event
*
,
void
*
)
npl_funcs_t::p_ble_npl_mutex_init
ble_npl_error_t
(
*
)
(
struct
ble_npl_mutex
*
)
npl_funcs_t::p_ble_npl_time_get
uint32_t
(
*
)
(
void
)
npl_funcs_t::p_ble_npl_time_ms_to_ticks
ble_npl_error_t
(
*
)
(
uint32_t
ms
,
ble_npl_time_t
*
)
npl_funcs_t::p_ble_npl_time_ticks_to_ms
ble_npl_error_t
(
*
)
(
ble_npl_time_t
,
uint32_t
*
)
npl_funcs_t::p_ble_npl_time_ms_to_ticks32
ble_npl_time_t
(
*
)
(
uint32_t
)
npl_funcs_t::p_ble_npl_time_ticks_to_ms32
uint32_t
(
*
)
(
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_time_delay
void
(
*
)
(
ble_npl_time_t
)
npl_funcs_t::p_ble_npl_hw_set_isr
void
(
*
)
(
int
,
uint32_t
)
npl_funcs_t::p_ble_npl_hw_enter_critical
uint32_t
(
*
)
(
void
)
npl_funcs_t::p_ble_npl_hw_exit_critical
void
(
*
)
(
uint32_t
)
npl_funcs_t::p_ble_npl_get_time_forever
uint32_t
(
*
)
(
void
)
npl_funcs_t::p_ble_npl_hw_is_in_critical
uint8_t
(
*
)
(
void
)
Examples
References
from
examples
Code
Location
Referrer
struct
npl_funcs_t
{
nimble_npl_os.h:91
extern
struct
npl_funcs_t
*
npl_funcs
;
nimble_npl_os.h:138
npl_funcs
struct
npl_funcs_t
*
npl_freertos_funcs_get
(
void
)
;
nimble_port_freertos.h:51
npl_freertos_funcs_get()
const
struct
npl_funcs_t
npl_funcs_ro
=
{
npl_os_freertos.c:1076
struct
npl_funcs_t
*
npl_funcs
=
NULL
;
npl_os_freertos.c:1125
npl_funcs
struct
npl_funcs_t
*
npl_freertos_funcs_get
(
void
)
npl_os_freertos.c:1127
npl_freertos_funcs_get()
npl_funcs
=
(
struct
npl_funcs_t
*
)
malloc
(
sizeof
(
struct
npl_funcs_t
)
)
;
npl_os_freertos.c:1134
npl_freertos_funcs_init()
memcpy
(
npl_funcs
,
&
npl_funcs_ro
,
sizeof
(
struct
npl_funcs_t
)
)
;
npl_os_freertos.c:1139
npl_freertos_funcs_init()
free
(
npl_funcs
)
;
npl_os_freertos.c:1264
npl_freertos_funcs_deinit()
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
npl_funcs
nimble_npl_os.h:138
return
npl_freertos_funcs_get()
nimble_port_freertos.h:51
npl_funcs_ro
npl_os_freertos.c:1076
npl_funcs
npl_os_freertos.c:1125
return
npl_freertos_funcs_get()
npl_os_freertos.c:1127
Lifecycle
from
examples
npl_funcs_t
is allocated by 1 symbol and is freed by 1 symbol:
npl_freertos_funcs_init()
All items filtered out
npl_funcs_t
npl_freertos_funcs_deinit()
All items filtered out