Trait stm32f4xx_hal::prelude::_embedded_hal_serial_Write[][src]

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<USART> Write<u8> for Tx<USART> where
    USART: Instance
[src]

type Error = Error

impl<USART, PINS> Write<u8> for Serial<USART, PINS> where
    PINS: Pins<USART>,
    USART: Instance
[src]

type Error = Error

Loading content...