pub struct W(_);
Expand description

Register COMP1_CSR writer

Implementations

Bit 0 - Comparator enable

Bits 2:3 - Comparator power mode

Bits 4:6 - Comparator input minus selection

Bits 7:8 - Comparator input plus selection

Bit 15 - Comparator output polarity

Bits 16:17 - Comparator hysteresis

Bits 18:20 - Comparator blanking source

Bit 22 - Comparator voltage scaler enable

Bit 23 - Comparator scaler bridge enable

Bits 25:26 - Comparator input minus extended selection

Bit 31 - Comparator lock

Writes raw bits to the register.

Methods from Deref<Target = W<COMP1_CSR_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably 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.