Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Helper 'wait' framework for blocking functions. More...
#include <stdio.h>
#include <string.h>
#include "cascoda-bm/cascoda_dispatch.h"
#include "cascoda-bm/cascoda_interface_core.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-bm/cascoda_wait.h"
#include "cascoda-util/cascoda_time.h"
#include "mac_messages.h"
Functions | |
ca_error | WAIT_Callback (uint8_t aCommandId, uint32_t aTimeoutMs, void *aCallbackContext, struct ca821x_dev *pDeviceRef) |
Wait for an asynchronous callback to be triggered. More... | |
ca_error | WAIT_CallbackSwap (uint8_t aCommandId, ca821x_generic_callback aCallback, uint32_t aTimeoutMs, void *aCallbackContext, struct ca821x_dev *pDeviceRef) |
Wait for an asynchronous callback to be triggered, with a given callback swapped in. More... | |
void * | WAIT_GetContext (void) |
Get the callback context from within a callback being waited for. More... | |
void | WAIT_ms (u32_t ticks) |
Helper 'wait' framework for blocking functions.
void WAIT_ms | ( | u32_t | ticks | ) |