sl_iostream_leuart_context_t Struct Reference

Struct representing an IO Stream LEUART context.

#include <sl_iostream_leuart.h>

Data Fields

sl_iostream_uart_context_t context
underlying uart context
LEUART_TypeDef * leuart
leuart instance handle
CMU_Clock_TypeDef clock
Peripheral Clock.
GPIO_Port_TypeDef tx_port
Transmit port.
unsigned int tx_pin
Transmit pin.
GPIO_Port_TypeDef rx_port
Receive port.
unsigned int rx_pin
Receive pin.

Struct representing an IO Stream LEUART context.

Field Documentation

context

sl_iostream_uart_context_t sl_iostream_leuart_context_t::context

underlying uart context

leuart

LEUART_TypeDef* sl_iostream_leuart_context_t::leuart

leuart instance handle

clock

CMU_Clock_TypeDef sl_iostream_leuart_context_t::clock

Peripheral Clock.

tx_port

GPIO_Port_TypeDef sl_iostream_leuart_context_t::tx_port

Transmit port.

tx_pin

unsigned int sl_iostream_leuart_context_t::tx_pin

Transmit pin.

rx_port

GPIO_Port_TypeDef sl_iostream_leuart_context_t::rx_port

Receive port.

rx_pin

unsigned int sl_iostream_leuart_context_t::rx_pin

Receive pin.