65#define BLE_NPL_OS_ALIGNMENT (4)
74#define BLE_NPL_TIME_FOREVER UINT32_MAX
101 ble_npl_event_fn*
fn;
int32_t ble_npl_stime_t
Signed tick delta, for timeouts expressed relative to now.
uint32_t ble_npl_time_t
Tick-count type used by the NPL.
Opaque mutex stand-in for the host build.
One-shot timer that posts an event into a queue when it fires.
struct ble_npl_event ev
Event posted on each firing.
TX_TIMER handle
Backing ThreadX one-shot timer.
struct ble_npl_eventq * evq
Queue to post the event into.
NimBLE event opaque – pairs a callback with an argument.
ble_npl_event_fn * fn
Callback invoked by ble_npl_event_run.
uint8_t queued
1 while sitting in an evq, 0 otherwise.
void * arg
Opaque user argument passed to fn().
Event queue mapped onto TX_QUEUE.
TX_QUEUE q
Backing ThreadX queue.
uint8_t storage[64]
Backing storage (16 entries * 4 bytes).
Mutex mapped onto TX_MUTEX.
TX_MUTEX handle
Backing ThreadX mutex.
Counting semaphore mapped onto TX_SEMAPHORE.
TX_SEMAPHORE handle
Backing ThreadX counting semaphore.