[][src]Trait stm32l0xx_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 Write<u8> for Serial<LPUART1>[src]

type Error = Error

impl Write<u8> for Serial<USART1>[src]

type Error = Error

impl Write<u8> for Serial<USART2>[src]

type Error = Error

impl Write<u8> for Serial<USART4>[src]

type Error = Error

impl Write<u8> for Serial<USART5>[src]

type Error = Error

impl Write<u8> for Tx<LPUART1>[src]

type Error = Error

impl Write<u8> for Tx<USART1>[src]

type Error = Error

impl Write<u8> for Tx<USART2>[src]

type Error = Error

impl Write<u8> for Tx<USART4>[src]

type Error = Error

impl Write<u8> for Tx<USART5>[src]

type Error = Error

Loading content...