[][src]Trait tm4c129x_hal::prelude::_embedded_hal_serial_Write

pub trait _embedded_hal_serial_Write<Word> {
    type Error;
    fn write(&mut self, word: Word) -> Result<(), Error<Self::Error>>;
fn flush(&mut self) -> Result<(), Error<Self::Error>>; }

Write half of a serial interface

Associated Types

type Error

Write error

Loading content...

Required methods

fn write(&mut self, word: Word) -> Result<(), Error<Self::Error>>

Writes a single word to the serial interface

fn flush(&mut self) -> Result<(), Error<Self::Error>>

Ensures that none of the previously written words are still buffered

Loading content...

Trait Implementations

impl<Word, Error> Write for dyn Write<Word, Error = Error> + 'static where
    Word: From<u8>, 
[src]

Implementors

impl<TX, RTS> Write<u8> for Tx<UART0, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART1, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART2, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART3, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART4, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART5, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART6, TX, RTS>[src]

type Error = Void

impl<TX, RTS> Write<u8> for Tx<UART7, TX, RTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART0, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART1, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART2, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART3, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART4, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART5, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART6, TX, RX, RTS, CTS>[src]

type Error = Void

impl<TX, RX, RTS, CTS> Write<u8> for Serial<UART7, TX, RX, RTS, CTS>[src]

type Error = Void

Loading content...