UART configuration.
Public Attributes#
UART ID.
uint8_t *
Poniter to transmit buffer.
size_t
Size of transmit buffer.
uint8_t *
Poniter to receive buffer.
size_t
Size of receive buffer.
uint32_t
Baud rate of UART.
uint8_t
Defines amount of data bits in the UART frame.
Defines parity bit in the UART frame.
Define stop bit in the UART frame.
Expect this callback to be invoked in interrupt context.
const void *
This can be used for anything, but might not work for all platform implementations.
uint8_t
Configuration flags.
Public Attribute Documentation#
parity_bit#
zpal_uart_parity_bit_t zpal_uart_config_t::parity_bit
Defines parity bit in the UART frame.
receive_callback#
zpal_uart_receive_callback_t zpal_uart_config_t::receive_callback
Expect this callback to be invoked in interrupt context.
ptr#
const void* zpal_uart_config_t::ptr
This can be used for anything, but might not work for all platform implementations.