embassy-nrf

Crates

0.1.0

Versions

nrf52820

Flavors

Module buffered_uarte

Source
Expand description

Async buffered UART driver.

Note that discarding a future from a read or write operation may lead to losing data. For example, when using futures_util::future::select and completion occurs on the “other” future, you should capture the incomplete future and continue to use it for the next read or write. This pattern is a consideration for all IO, and not just serial communications.

Please also see crate::uarte to understand when BufferedUarte should be used.

Structs§

BufferedUarte
Buffered UARTE driver.
BufferedUarteRx
Writer part of the buffered UARTE driver.
BufferedUarteTx
Reader part of the buffered UARTE driver.
InterruptHandler
Interrupt handler.

Enums§

Baudrate
Baud rate
Error
UART error.
Parity
Parity