Macros | |
#define | CSP_QUEUE_FULL 0 |
#define | CSP_QUEUE_ERROR 0 |
#define | CSP_QUEUE_OK 1 |
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) |
Macro Definition Documentation
#define CSP_QUEUE_ERROR 0 |
#define CSP_QUEUE_FULL 0 |
#define CSP_QUEUE_OK 1 |
Typedef Documentation
typedef void* csp_queue_handle_t |
Function Documentation
csp_queue_handle_t csp_queue_create | ( | int | length, |
size_t | item_size | ||
) |
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_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 | ||
) |
void csp_queue_remove | ( | csp_queue_handle_t | queue | ) |
int csp_queue_size | ( | csp_queue_handle_t | handle | ) |
int csp_queue_size_isr | ( | csp_queue_handle_t | handle | ) |