Expand description
Write half of a serial interface
Writes a single word to the serial interface
Ensures that none of the previously written words are still buffered
impl<Word, Error> Write for dyn Write<Word, Error = Error> + 'static where
Word: From<u8>,
Writes a string slice into this writer, returning whether the write
succeeded. Read more
Writes a char
into this writer, returning whether the write succeeded. Read more
Glue for usage of the write!
macro with implementors of this trait. Read more
Implement Write
for Spi
Write
is only implemented when the Pads
are Tx
but NotRx
.
If the Pads
are both Tx
and Rx
, then use FullDuplex
.
Because Write
is only implemented when the Pads
are NotRx
, this
implementation never reads the DATA register and ignores all buffer overflow
errors.
impl<RX, TX, RTS, CTS> Write<u8> for UART0<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART1<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART2<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART3<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART4<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART5<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART6<RX, TX, RTS, CTS>
impl<RX, TX, RTS, CTS> Write<u8> for UART7<RX, TX, RTS, CTS>