Struct lpc55_hal::drivers::serial::Serial[][src]

pub struct Serial<TX, RX, USART, PINS> where
    TX: PinId,
    RX: PinId,
    USART: Usart,
    PINS: UsartPins<TX, RX, USART>, 
{ /* fields omitted */ }
Expand description

USART peripheral operating as serial

Implementations

Trait Implementations

Read error

Reads a single word from the serial interface

Write error

Ensures that none of the previously written words are still buffered

Writes a single word to the serial interface

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.