AM62Ax MCU+ SDK  10.01.00
QueueP.h File Reference

Go to the source code of this file.

Data Structures

struct  QueueP_Elem
 Opaque QueueP element. More...
 
struct  QueueP_Object
 Opaque task object used with the task APIs. More...
 

Macros

#define QueueP_OBJECT_SIZE_MAX   (8u)
 Max size of task object across all OS's. More...
 
State codes for current queue state

#define QueueP_NOTEMPTY   (0U)
 
#define QueueP_EMPTY   (1U)
 

Typedefs

typedef void * QueueP_Handle
 Opaque client reference to an instance of a QueueP. More...
 

Functions

QueueP_Handle QueueP_create (QueueP_Object *obj)
 Function to create a queue. More...
 
int32_t QueueP_delete (QueueP_Handle handle)
 Function to delete a queue. More...
 
void * QueueP_get (QueueP_Handle handle)
 Function to Get the element at the front of the queue. This function removes an element from the front of a queue and returns it. More...
 
int32_t QueueP_put (QueueP_Handle handle, void *elem)
 Function to Put an element at end of queue. More...
 
uint32_t QueueP_isEmpty (QueueP_Handle handle)
 Function to perform queue empty check. More...