pub struct R(_);
Expand description

Register COMP2_CSR reader

Implementations

Bit 0 - Comparator 2 enable bit

Bits 2:3 - Power Mode of the comparator 2

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

Bits 7:8 - Comparator 2 Input Plus connection configuration bit

Bit 9 - Windows mode selection bit

Bit 15 - Comparator 2 polarity selection bit

Bits 16:17 - Comparator 2 hysteresis selection bits

Bits 18:20 - Comparator 2 blanking source selection bits

Bit 22 - Scaler bridge enable

Bit 23 - Voltage scaler enable bit

Bits 25:26 - comparator 2 input minus extended selection bits

Bit 30 - Comparator 2 output status bit

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.