Trait stm32f4xx_hal::prelude::_embedded_hal_serial_Write [−][src]
Write half of a serial interface
Associated Types
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
Trait Implementations
Implementors
impl<USART> Write<u8> for Tx<USART> where
USART: Instance,
[src]
USART: Instance,
type Error = Error
fn flush(&mut self) -> Result<(), Self::Error>
[src]
fn write(&mut self, byte: u8) -> Result<(), Self::Error>
[src]
impl<USART, PINS> Write<u8> for Serial<USART, PINS> where
PINS: Pins<USART>,
USART: Instance,
[src]
PINS: Pins<USART>,
USART: Instance,