Struct atsaml21e16b::ac::compctrl::R

source ·
pub struct R(_);
Expand description

Register COMPCTRL%s reader

Implementations§

Bit 1 - Enable

Bit 2 - Single-Shot Mode

Bits 3:4 - Interrupt Selection

Bit 6 - Run in Standby

Bits 8:10 - Negative Input Mux Selection

Bits 12:14 - Positive Input Mux Selection

Bit 15 - Swap Inputs and Invert

Bits 16:17 - Speed Selection

Bit 19 - Hysteresis Enable

Bits 20:21 - Hysteresis Level

Bits 24:26 - Filter Length

Bits 28:29 - Output

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