pub struct R(_);
Expand description

Register COMP2_CSR reader

Implementations

Bit 0 - COMP channel 1 enable bit

Bits 4:7 - Comparator 2 signal selector for inverting input INM

Bits 8:9 - Comparator 2 signal selector for non-inverting input

Bit 11 - Comparator 2 non-inverting input selector for window mode

Bit 14 - Comparator 2 output selector

Bit 15 - Comparator 2 polarity selector

Bits 16:17 - Comparator 2 hysteresis selector

Bits 18:19 - Comparator 2 power mode selector

Bits 20:24 - Comparator 2 blanking source selector

Bit 30 - Comparator 2 output status

Bit 31 - COMP2_CSR register lock

Methods from Deref<Target = R<COMP2_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.