[][src]Trait avr_hal_generic::prelude::_embedded_hal_serial_Write

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

Write half of a serial interface

Associated Types

type Error[src]

Write error

Loading content...

Required methods

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

Writes a single word to the serial interface

pub fn flush(&mut self) -> Result<(), Error<Self::Error>>[src]

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<H, USART: UsartOps<H, RX, TX>, RX, TX, CLOCK> Write<u8> for Usart<H, USART, RX, TX, CLOCK>[src]

type Error = Void

impl<H, USART: UsartOps<H, RX, TX>, RX, TX, CLOCK> Write<u8> for UsartWriter<H, USART, RX, TX, CLOCK>[src]

type Error = Void

Loading content...