| BLDC control on ATAVRMC303 with ATxMega128A1

Data Fields
USART_Buffer Struct Reference

`#include <usart_driver.h>`

Collaboration diagram for USART_Buffer:

## Data Fields
volatile uint8_t | RX [USART_RX_BUFFER_SIZE]
volatile uint8_t | RX_Head
volatile uint8_t | RX_Tail
volatile uint8_t | TX [USART_TX_BUFFER_SIZE]
volatile uint8_t | TX_Head
volatile uint8_t | TX_Tail

## Detailed Description

Definition at line 85 of file usart_driver.h.

## Field Documentation

## ◆ RX

volatile uint8_t USART_Buffer::RX[USART_RX_BUFFER_SIZE]

Definition at line 88 of file usart_driver.h.

Referenced by USART_RXBuffer_GetByte(), and USART_RXComplete().

## ◆ RX_Head

volatile uint8_t USART_Buffer::RX_Head

Definition at line 92 of file usart_driver.h.

Referenced by USART_InterruptDriver_Initialize(), USART_RXBufferData_Available(), and USART_RXComplete().

## ◆ RX_Tail

volatile uint8_t USART_Buffer::RX_Tail

Definition at line 94 of file usart_driver.h.

Referenced by USART_InterruptDriver_Initialize(), USART_RXBuffer_GetByte(), USART_RXBufferData_Available(), and USART_RXComplete().

## ◆ TX

volatile uint8_t USART_Buffer::TX[USART_TX_BUFFER_SIZE]

Definition at line 90 of file usart_driver.h.

Referenced by USART_DataRegEmpty(), and USART_TXBuffer_PutByte().

## ◆ TX_Head

volatile uint8_t USART_Buffer::TX_Head

Definition at line 96 of file usart_driver.h.

Referenced by USART_DataRegEmpty(), USART_InterruptDriver_Initialize(), USART_TXBuffer_FreeSpace(), and USART_TXBuffer_PutByte().

## ◆ TX_Tail

volatile uint8_t USART_Buffer::TX_Tail

Definition at line 98 of file usart_driver.h.

Referenced by USART_DataRegEmpty(), USART_InterruptDriver_Initialize(), and USART_TXBuffer_FreeSpace().