MSP430™CapTIvateSoftwareLibraryAPIGuide  1_83_00_05
Data Structures | Enumerations | Functions
CAPT_ByteQueue.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for CAPT_ByteQueue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tByteQueue
 typedef tByteQueue More...
 

Enumerations

enum  tByteQueueError { eByteQueue_Success = 0, eByteQueue_QueueEmpty = -1, eByteQueue_QueueOverrun = -2 }
 tByteQueueError enumerates possible Byte Queue function errors. More...
 

Functions

bool CAPT_initByteQueue (tByteQueue *pQueue, uint8_t *pBufferArray, uint16_t ui16BufferArraySize)
 
int8_t CAPT_pushOntoByteQueue (tByteQueue *pQueue, uint8_t ui8DataToAdd)
 
int8_t CAPT_pullFromByteQueue (tByteQueue *pQueue, uint8_t *pDestination)
 
uint16_t CAPT_getByteQueueSize (tByteQueue *pQueue)
 
bool CAPT_isByteQueueFull (tByteQueue *pQueue)
 
bool CAPT_isByteQueueEmpty (tByteQueue *pQueue)
 
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale