FIFO Library
Software FIFO
 All Data Structures Functions Variables Groups Pages
Functions
ISR FUNCTIONS

Functions

void fifo_write_ISR (fifo_t *fifo, uint8_t data)
 FIFO write access without check for free space. More...
 
uint8_t fifo_read_ISR (fifo_t *fifo)
 FIFO read access without check for available data. More...
 
uint16_t fifo_get_level_ISR (fifo_t *fifo)
 Get fill level of FIFO. More...
 
uint16_t fifo_get_free_ISR (fifo_t *fifo)
 Get free space of fifo. More...
 

Detailed Description

inline functions for fast FIFO access in ISR use in ISR ONLY !

Function Documentation

uint16_t fifo_get_free_ISR ( fifo_t fifo)
inline

Get free space of fifo.

Parameters
*fifopointer to FIFO struct
Returns
free space of fifo in bytes
uint16_t fifo_get_level_ISR ( fifo_t fifo)
inline

Get fill level of FIFO.

Parameters
*fifopointer to FIFO struct
Returns
fill level of fifo in bytes
uint8_t fifo_read_ISR ( fifo_t fifo)
inline

FIFO read access without check for available data.

Parameters
*fifopointer to FIFO struct
Returns
read data
void fifo_write_ISR ( fifo_t fifo,
uint8_t  data 
)
inline

FIFO write access without check for free space.

Parameters
*fifopointer to FIFO struct
datawrite data
Returns
none