Struct gd32f1::gd32f130::cmp::cs::R[][src]

pub struct R(_);
Expand description

Register CS reader

Implementations

Bit 0 - CMP0 enable

Bit 1 - CMP0 switch

Bits 2:3 - CMP0 mode

Bits 4:6 - CMP0_M input selection

Bits 8:10 - Comparator 0 output selection

Bit 11 - Polarity of CMP0 output

Bits 12:13 - CMP0 hysteresis

Bit 14 - CMP0 output

Bit 15 - CMP0 lock

Bit 16 - CMP1 enable

Bits 18:19 - CMP1 mode

Bits 20:22 - CMP1_M input selection

Bit 23 - Window mode enable

Bits 24:26 - CMP1 output selection

Bit 27 - Polarity of CMP1 output

Bits 28:29 - CMP1 hysteresis

Bit 30 - CMP1 output

Bit 31 - CMP1 lock

Methods from Deref<Target = R<CS_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

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.