| BLDC control on ATAVRMC303 with ATxMega128A1

Data Fields
Usart_and_buffer Struct Reference

Struct used when interrupt driven driver is used. More...

`#include <usart_driver.h>`

Collaboration diagram for Usart_and_buffer:

## Data Fields
USART_Buffer_t | buffer
USART_DREINTLVL_t | dreIntLevel
USART_t * | usart

## Detailed Description

Struct used when interrupt driven driver is used.

Struct containing pointer to a usart, a buffer and a location to store Data register interrupt level temporary.

Definition at line 107 of file usart_driver.h.

## Field Documentation

## ◆ buffer

USART_Buffer_t Usart_and_buffer::buffer

Definition at line 114 of file usart_driver.h.

Referenced by USART_DataRegEmpty(), USART_InterruptDriver_Initialize(), USART_RXBuffer_GetByte(), USART_RXBufferData_Available(), USART_RXComplete(), USART_TXBuffer_FreeSpace(), and USART_TXBuffer_PutByte().

## ◆ dreIntLevel

USART_DREINTLVL_t Usart_and_buffer::dreIntLevel

Definition at line 112 of file usart_driver.h.

Referenced by USART_InterruptDriver_DreInterruptLevel_Set(), USART_InterruptDriver_Initialize(), and USART_TXBuffer_PutByte().

## ◆ usart

USART_t* Usart_and_buffer::usart

Definition at line 110 of file usart_driver.h.

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