Struct stm32g0::stm32g0b0::usart1::cr2::CPHA_R[][src]

pub struct CPHA_R(_);
Expand description

Field CPHA reader - Clock phase This bit is used to select the phase of the clock output on the SCLK pin in synchronous mode. It works in conjunction with the CPOL bit to produce the desired clock/data relationship (see and ) This bit can only be written when the USART is disabled (UEÂ =Â 0). Note: If synchronous mode is not supported, this bit is reserved and must be kept at reset value. Refer to .

Implementations

Get enumerated values variant

Checks if the value of the field is B_0X0

Checks if the value of the field is B_0X1

Methods from Deref<Target = FieldReader<bool, CPHA_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

Performs the conversion.

Performs the conversion.

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.