[−]Trait nucleo_f103rb::_embedded_hal_serial_Write
Write half of a serial interface
Associated Types
type Error
Write error
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
Implementors
impl Write<u8> for Tx<USART1>
[src]
type Error = Void
fn flush(&mut self) -> Result<(), Error<<Tx<USART1> as Write<u8>>::Error>>
[src]
fn write(
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART1> as Write<u8>>::Error>>
[src]
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART1> as Write<u8>>::Error>>
impl Write<u8> for Tx<USART2>
[src]
type Error = Void
fn flush(&mut self) -> Result<(), Error<<Tx<USART2> as Write<u8>>::Error>>
[src]
fn write(
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART2> as Write<u8>>::Error>>
[src]
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART2> as Write<u8>>::Error>>