UART
|
Detailed Description
Structure for holding the configuration parameters of UART channel.
#include <UART.h>
Data Fields | |
const XMC_UART_CH_CONFIG_t *const | channel_config |
UART_init_handler | fptr_uart_config |
UART_cbhandler | sync_error_cbhandler |
UART_cbhandler | rx_noise_error_cbhandler |
UART_cbhandler | format_error_bit0_cbhandler |
UART_cbhandler | format_error_bit1_cbhandler |
UART_cbhandler | collision_error_cbhandler |
const UART_TX_CONFIG_t * | tx_pin_config |
UART_MODE_t | mode |
UART_TRANSFER_MODE_t | transmit_mode |
UART_TRANSFER_MODE_t | receive_mode |
XMC_USIC_CH_FIFO_SIZE_t | tx_fifo_size |
XMC_USIC_CH_FIFO_SIZE_t | rx_fifo_size |
uint8_t | tx_sr |
Field Documentation
const XMC_UART_CH_CONFIG_t* const UART_CONFIG::channel_config |
UART_cbhandler UART_CONFIG::collision_error_cbhandler |
UART_cbhandler UART_CONFIG::format_error_bit0_cbhandler |
UART_cbhandler UART_CONFIG::format_error_bit1_cbhandler |
UART_init_handler UART_CONFIG::fptr_uart_config |
Function pointer to configure the MUX values
Definition at line 216 of file UART.h.
Referenced by UART_Init().
UART_MODE_t UART_CONFIG::mode |
UART_TRANSFER_MODE_t UART_CONFIG::receive_mode |
Mode used for receiving data. Data can be received using
interrupt, DMA or direct(using polling or external APP connection.)
Definition at line 240 of file UART.h.
Referenced by UART_Receive().
XMC_USIC_CH_FIFO_SIZE_t UART_CONFIG::rx_fifo_size |
Receive FIFO size configuration
Definition at line 243 of file UART.h.
Referenced by UART_SetRXFIFOTriggerLimit().
UART_cbhandler UART_CONFIG::rx_noise_error_cbhandler |
UART_cbhandler UART_CONFIG::sync_error_cbhandler |
UART_TRANSFER_MODE_t UART_CONFIG::transmit_mode |
Mode used for transmitting data. Data can be transmitted using
interrupt, DMA or direct(using polling or external APP connection.)
Definition at line 238 of file UART.h.
Referenced by UART_Transmit().
XMC_USIC_CH_FIFO_SIZE_t UART_CONFIG::tx_fifo_size |
Transmit FIFO size configuration
Definition at line 242 of file UART.h.
Referenced by UART_SetTXFIFOTriggerLimit().
const UART_TX_CONFIG_t* UART_CONFIG::tx_pin_config |
Transmit pin configuration to be used during initialization
and while changing baudrate.
Definition at line 235 of file UART.h.
Referenced by UART_SetBaudrate().
uint8_t UART_CONFIG::tx_sr |
The documentation for this struct was generated from the following file: