embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module lpuart

Module lpuart 

Source

Modules§

buffered

Structs§

Async
Async mode.
Blocking
Blocking mode.
Config
Lpuart config
Info
Lpuart
Lpuart driver.
LpuartRx
Lpuart Rx driver.
LpuartTx
Lpuart TX driver.
Status
LPUART status flags

Enums§

Error
LPUART error types

Traits§

CtsPin
io configuration trait for Lpuart Cts
Instance
Trait for LPUART peripheral instances
Mode
Driver move trait.
RtsPin
io configuration trait for Lpuart Rts
RxPin
io configuration trait for Lpuart Rx configuration
SealedInstance
TxPin
io configuration trait for Lpuart Tx configuration

Functions§

calculate_baudrate
check_and_clear_rx_errors
clear_all_status_flags
Clear all status flags
configure_baudrate
Calculate and configure baudrate settings
configure_bit_order
Configure bit order (MSB first or LSB first)
configure_control_settings
Configure control settings (parity, data bits, idle config, pin swap)
configure_fifo
Configure FIFO settings and watermarks
configure_flow_control
Configure hardware flow control if enabled
configure_frame_format
Configure frame format (stop bits, data bits)
disable_transceiver
Disable both transmitter and receiver
enable_transceiver
Enable transmitter and/or receiver based on configuration
has_data
perform_software_reset
Perform software reset on the LPUART peripheral
wait_for_tx_complete
Wait for all transmit operations to complete

Type Aliases§

Regs
Result
A specialized Result type for LPUART operations