pub enum StopBits {
    STOP1,
    STOP0P5,
    STOP2,
    STOP1P5,
}
Expand description

USART stopbits settings

Variants

STOP1

1 stop bit

STOP0P5

0.5 stop bits

STOP2

2 stop bits

STOP1P5

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.