sl_iostream_usart_config_t Struct Reference

I/O Stream USART config.

#include <sl_iostream_usart.h>

Data Fields

USART_TypeDef * usart
Pointer to USART peripheral.
CMU_Clock_TypeDef clock
Peripheral Clock.
GPIO_Port_TypeDef tx_port
Transmit port.
uint8_t tx_pin
Transmit pin.
GPIO_Port_TypeDef rx_port
Receive port.
uint8_t rx_pin
Receive pin.
GPIO_Port_TypeDef cts_port
Flow control, CTS port.
uint8_t cts_pin
Flow control, CTS pin.
GPIO_Port_TypeDef rts_port
Flow control, RTS port.
uint8_t rts_pin
Flow control, RTS pin.
uint8_t rx_timeout
Timeout delay between two Rx events.
uint8_t usart_location
USART location. Available only on certain devices.

I/O Stream USART config.

Field Documentation

usart

USART_TypeDef* sl_iostream_usart_config_t::usart

Pointer to USART peripheral.

clock

CMU_Clock_TypeDef sl_iostream_usart_config_t::clock

Peripheral Clock.

tx_port

GPIO_Port_TypeDef sl_iostream_usart_config_t::tx_port

Transmit port.

tx_pin

uint8_t sl_iostream_usart_config_t::tx_pin

Transmit pin.

rx_port

GPIO_Port_TypeDef sl_iostream_usart_config_t::rx_port

Receive port.

rx_pin

uint8_t sl_iostream_usart_config_t::rx_pin

Receive pin.

cts_port

GPIO_Port_TypeDef sl_iostream_usart_config_t::cts_port

Flow control, CTS port.

cts_pin

uint8_t sl_iostream_usart_config_t::cts_pin

Flow control, CTS pin.

rts_port

GPIO_Port_TypeDef sl_iostream_usart_config_t::rts_port

Flow control, RTS port.

rts_pin

uint8_t sl_iostream_usart_config_t::rts_pin

Flow control, RTS pin.

rx_timeout

uint8_t sl_iostream_usart_config_t::rx_timeout

Timeout delay between two Rx events.

usart_location

uint8_t sl_iostream_usart_config_t::usart_location

USART location. Available only on certain devices.