pub struct R(_);
Expand description

Register CTRLA reader

Implementations

Bit 0 - Software Reset

Bit 1 - Enable

Bits 2:3 - Operation Mode

Bit 6 - Run in Standby

Bits 8:10 - PDEC Configuration

Bit 11 - Auto Lock

Bit 14 - PDEC Phase A and B Swap

Bit 15 - Period Enable

Bit 16 - PDEC Input From Pin 0 Enable

Bit 17 - PDEC Input From Pin 1 Enable

Bit 18 - PDEC Input From Pin 2 Enable

Bit 20 - IO Pin 0 Invert Enable

Bit 21 - IO Pin 1 Invert Enable

Bit 22 - IO Pin 2 Invert Enable

Bits 24:26 - Angular Counter Length

Bits 28:31 - Maximum Consecutive Missing Pulses

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