UART: UART_RUNTIME Struct Reference

Modbus RTU XMC47

UART_RUNTIME Struct Reference

Detailed Description

Structure to hold the dynamic variables for the UART communication.

Definition at line 250 of file UART.h.

#include <UART.h>

Data Fields

uint8_t * tx_data
 
uint8_t * rx_data
 
uint32_t tx_data_count
 
uint32_t tx_data_index
 
uint32_t rx_data_count
 
uint32_t rx_data_index
 
volatile bool tx_busy
 
volatile bool rx_busy
 

Field Documentation

volatile bool UART_RUNTIME::rx_busy

Status flag to indicate busy when a reception is assigned

Definition at line 259 of file UART.h.

Referenced by UART_IsRxBusy(), and UART_SetBaudrate().

uint8_t* UART_RUNTIME::rx_data

Pointer to the receive data buffer

Definition at line 253 of file UART.h.

uint32_t UART_RUNTIME::rx_data_count

Number of bytes of data to be received

Definition at line 256 of file UART.h.

uint32_t UART_RUNTIME::rx_data_index

Indicates the number of bytes currently available in the rx_data buffer

Definition at line 257 of file UART.h.

volatile bool UART_RUNTIME::tx_busy

Status flag to indicate busy when a transmission is assigned

Definition at line 258 of file UART.h.

Referenced by UART_IsTxBusy(), and UART_SetBaudrate().

uint8_t* UART_RUNTIME::tx_data

Pointer to the transmit data buffer

Definition at line 252 of file UART.h.

uint32_t UART_RUNTIME::tx_data_count

Number of bytes of data to be transmitted

Definition at line 254 of file UART.h.

uint32_t UART_RUNTIME::tx_data_index

Index to the byte to be transmitted next in the tx_data buffer

Definition at line 255 of file UART.h.


The documentation for this struct was generated from the following file: