Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_wait.h File Reference

Declarations of helper wait functions. More...

#include "ca821x_api.h"
#include "mac_messages.h"
Include dependency graph for cascoda_wait.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void WAIT_ms (uint32_t ticks)
 Wait for a given number of milliseconds. More...
 
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...
 

Detailed Description

Declarations of helper wait functions.