dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_queue.h File Reference
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define PIOS_QUEUE_TIMEOUT_MAX   0xffffffff
 

Functions

struct pios_queuePIOS_Queue_Create (size_t queue_length, size_t item_size)
 
void PIOS_Queue_Delete (struct pios_queue *queuep)
 
bool PIOS_Queue_Send (struct pios_queue *queuep, const void *itemp, uint32_t timeout_ms)
 
bool PIOS_Queue_Send_FromISR (struct pios_queue *queuep, const void *itemp, bool *wokenp)
 
bool PIOS_Queue_Receive (struct pios_queue *queuep, void *itemp, uint32_t timeout_ms)
 
size_t PIOS_Queue_GetItemSize (struct pios_queue *queuep)
 

Detailed Description

Author
Tau Labs, http://taulabs.org, Copyright (C) 2014
dRonin, http://dronin.org Copyright (C) 2015
dRonin, http://dronin.org Copyright (C) 2017

Definition in file pios_queue.h.