Asynchronous mode initialization structure.
Public Attributes#
Enable CS invert.
Auto CS enabling.
Enable USART Rx via PRS.
Select PRS channel for USART Rx. (Only valid if prs_rx_enable is true).
Auto CS hold time in baud cycles.
Auto CS setup time in baud cycles.
Clock divider.
Oversampling used.
Number of data bits in frame.
Parity mode to use.
Number of stop bits to use.
Majority Vote Disable for 16x, 8x and 6x oversampling modes.
Hardware flow control mode.
Public Attribute Documentation#
cs_invert#
bool sl_hal_usart_async_init_t::cs_invert
Enable CS invert.
By default, chip select is active low. Set to true to make chip select active high.
prs_rx_channel#
uint8_t sl_hal_usart_async_init_t::prs_rx_channel
Select PRS channel for USART Rx. (Only valid if prs_rx_enable is true).
data_bits#
sl_hal_usart_data_bits_t sl_hal_usart_async_init_t::data_bits
Number of data bits in frame.
Notice that UART modules only support 8 or 9 data bits.
majority_vote#
sl_hal_usart_majority_vote_t sl_hal_usart_async_init_t::majority_vote
Majority Vote Disable for 16x, 8x and 6x oversampling modes.
hw_flow_control#
sl_hal_usart_hw_flow_control_t sl_hal_usart_async_init_t::hw_flow_control
Hardware flow control mode.