[]Trait feather_m0::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...

Implementors

impl Write<u8> for UART0[src]

type Error = ()

impl Write<u8> for UART1[src]

type Error = ()

impl Write<u8> for UART2[src]

type Error = ()

impl Write<u8> for UART3[src]

type Error = ()

impl Write<u8> for UART4[src]

type Error = ()

impl Write<u8> for UART5[src]

type Error = ()

Loading content...