Queue API

group Queue

Defines

CSP_QUEUE_FULL
CSP_QUEUE_ERROR
CSP_QUEUE_OK

Typedefs

typedef void *csp_queue_handle_t

Functions

csp_queue_handle_t csp_queue_create(int length, size_t item_size)
void csp_queue_remove(csp_queue_handle_t queue)
int csp_queue_enqueue(csp_queue_handle_t handle, void *value, uint32_t timeout)
int csp_queue_enqueue_isr(csp_queue_handle_t handle, void *value, CSP_BASE_TYPE *task_woken)
int csp_queue_dequeue(csp_queue_handle_t handle, void *buf, uint32_t timeout)
int csp_queue_dequeue_isr(csp_queue_handle_t handle, void *buf, CSP_BASE_TYPE *task_woken)
int csp_queue_size(csp_queue_handle_t handle)
int csp_queue_size_isr(csp_queue_handle_t handle)