Microchip® Advanced Software Framework

ser_fifo_desc Struct Reference

FIFO descriptor used by FIFO driver.

FIFO descriptor used by FIFO driver.

#include <serial_fifo.h>

Data Fields

union {
   uint16_t *   ser_fifo_desc::u16ptr
 
   uint32_t *   ser_fifo_desc::u32ptr
 
   uint8_t *   ser_fifo_desc::u8ptr
 
buffer
 
union {
   uint16_t *   ser_fifo_desc::u16ptr
 Pointer to unsigned-16 bits location. More...
 
   uint32_t *   ser_fifo_desc::u32ptr
 Pointer to unsigned-32 bits location. More...
 
   uint8_t *   ser_fifo_desc::u8ptr
 Pointer to unsigned-8 bits location. More...
 
buffer
 
uint16_t mask
 Mask used to speed up FIFO operation (wrapping) More...
 
volatile uint16_t read_index
 Read index. More...
 
uint16_t size
 Size of the FIFO (unit is in number of 'element') More...
 
volatile uint16_t write_index
 Write index. More...