pub struct USART1SW_R(_);
Expand description

Field USART1SW reader - USART1 clock source selection

Implementations

Get enumerated values variant

Checks if the value of the field is PCLK

Checks if the value of the field is SYSCLK

Checks if the value of the field is LSE

Checks if the value of the field is HSI

Methods from Deref<Target = FieldReader<u8, USART1SW_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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.