sl_iostream_leuart_config_t Struct Reference

Struct representing an IO Stream LEUART configuration.

#include <sl_iostream_leuart.h>

Data Fields

LEUART_TypeDef * leuart
Pointer to LEUART peripheral.
IRQn_Type irq_number
IRQ number.
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.
uint8_t location
LEUART location. Only available on certain devices (mutually exclusive with rx_location and tx_location).

Struct representing an IO Stream LEUART configuration.

Field Documentation

leuart

LEUART_TypeDef* sl_iostream_leuart_config_t::leuart

Pointer to LEUART peripheral.

irq_number

IRQn_Type sl_iostream_leuart_config_t::irq_number

IRQ number.

clock

CMU_Clock_TypeDef sl_iostream_leuart_config_t::clock

Peripheral Clock.

tx_port

GPIO_Port_TypeDef sl_iostream_leuart_config_t::tx_port

Transmit port.

tx_pin

unsigned int sl_iostream_leuart_config_t::tx_pin

Transmit pin.

rx_port

GPIO_Port_TypeDef sl_iostream_leuart_config_t::rx_port

Receive port.

rx_pin

unsigned int sl_iostream_leuart_config_t::rx_pin

Receive pin.

location

uint8_t sl_iostream_leuart_config_t::location

LEUART location. Only available on certain devices (mutually exclusive with rx_location and tx_location).