Struct stm32f042_hal::serial::Tx [] [src]

pub struct Tx<USART> { /* fields omitted */ }

Serial transmitter

Trait Implementations

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

Write error

[src]

Ensures that none of the previously written words are still buffered

[src]

Writes a single word to the serial interface

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

Write error

[src]

Ensures that none of the previously written words are still buffered

[src]

Writes a single word to the serial interface

impl<USART> Write for Tx<USART> where
    Tx<USART>: Write<u8>, 
[src]

[src]

Writes a slice of bytes into this writer, returning whether the write succeeded. Read more

1.1.0
[src]

Writes a [char] into this writer, returning whether the write succeeded. Read more

1.0.0
[src]

Glue for usage of the [write!] macro with implementors of this trait. Read more

Auto Trait Implementations

impl<USART> Send for Tx<USART> where
    USART: Send

impl<USART> Sync for Tx<USART> where
    USART: Sync