|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
NimBLE event opaque – pairs a callback with an argument. More...
#include <nimble_npl_os.h>
Data Fields | |
| uint8_t | queued |
| 1 while sitting in an evq, 0 otherwise. | |
| ble_npl_event_fn * | fn |
| Callback invoked by ble_npl_event_run. | |
| void * | arg |
| Opaque user argument passed to fn(). | |
NimBLE event opaque – pairs a callback with an argument.
Posted into a ble_npl_eventq by callers and dispatched by ble_npl_eventq_get. Mirrors the FreeRTOS port's struct.
Definition at line 99 of file nimble_npl_os.h.
| void* ble_npl_event::arg |
Opaque user argument passed to fn().
Definition at line 102 of file nimble_npl_os.h.
Referenced by ble_npl_callout_init(), ble_npl_callout_set_arg(), ble_npl_event_get_arg(), ble_npl_event_init(), and ble_npl_event_set_arg().
| ble_npl_event_fn* ble_npl_event::fn |
Callback invoked by ble_npl_event_run.
Definition at line 101 of file nimble_npl_os.h.
Referenced by ble_npl_callout_init(), ble_npl_event_init(), and ble_npl_event_run().
| uint8_t ble_npl_event::queued |
1 while sitting in an evq, 0 otherwise.
Definition at line 100 of file nimble_npl_os.h.
Referenced by ble_npl_event_is_queued(), ble_npl_eventq_get(), ble_npl_eventq_put(), and ble_npl_eventq_remove().