UARTDRV_Buffer_FifoQueue_t Struct Reference

Transfer operation FIFO queue typedef.

#include <uartdrv.h>

Data Fields

volatile uint16_t head
 An index of the next byte to send.
 
volatile uint16_t tail
 An index of the location to enqueue the next message.
 
volatile uint16_t used
 A number of bytes queued.
 
const uint16_t size
 FIFO size.
 
UARTDRV_Buffer_t fifo [1]
 FIFO of queued data. Actual size varies.
 

Transfer operation FIFO queue typedef.

Field Documentation

◆ head

volatile uint16_t UARTDRV_Buffer_FifoQueue_t::head

An index of the next byte to send.

◆ tail

volatile uint16_t UARTDRV_Buffer_FifoQueue_t::tail

An index of the location to enqueue the next message.

◆ used

volatile uint16_t UARTDRV_Buffer_FifoQueue_t::used

A number of bytes queued.

◆ size

const uint16_t UARTDRV_Buffer_FifoQueue_t::size

FIFO size.

◆ fifo

UARTDRV_Buffer_t UARTDRV_Buffer_FifoQueue_t::fifo[1]

FIFO of queued data. Actual size varies.