pub struct R(_);
Expand description

Register CSR reader

Implementations

Bit 0 - Comparator 1 enable

Bits 2:3 - Comparator 1 mode

Bits 4:6 - Comparator 1 inverting input selection

Bits 8:10 - Comparator 1 output selection

Bit 11 - Comparator 1 output polarity

Bits 12:13 - Comparator 1 hysteresis

Bit 14 - Comparator 1 output

Bit 15 - Comparator 1 lock

Bit 16 - Comparator 2 enable

Bits 18:19 - Comparator 2 mode

Bits 20:22 - Comparator 2 inverting input selection

Bit 23 - Window mode enable

Bits 24:26 - Comparator 2 output selection

Bit 27 - Comparator 2 output polarity

Bits 28:29 - Comparator 2 hysteresis

Bit 30 - Comparator 2 output

Bit 31 - Comparator 2 lock

Bit 1 - Comparator 1 non inverting input DAC switch

Methods from Deref<Target = R<CSR_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Converts to this type from the input type.

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.