sl_iostream_usart_context_t Struct Reference

I/O Stream USART context.

#include <sl_iostream_usart.h>

Data Fields

sl_iostream_uart_context_t context
usart_location
USART_TypeDef * usart
usart
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.

I/O Stream USART context.

Field Documentation

context

sl_iostream_uart_context_t sl_iostream_usart_context_t::context

usart_location

usart

USART_TypeDef* sl_iostream_usart_context_t::usart

usart

clock

CMU_Clock_TypeDef sl_iostream_usart_context_t::clock

Peripheral Clock.

tx_port

GPIO_Port_TypeDef sl_iostream_usart_context_t::tx_port

Transmit port.

tx_pin

uint8_t sl_iostream_usart_context_t::tx_pin

Transmit pin.

rx_port

GPIO_Port_TypeDef sl_iostream_usart_context_t::rx_port

Receive port.

rx_pin

uint8_t sl_iostream_usart_context_t::rx_pin

Receive pin.