Struct atsaml21e16b::tcc0::wave::R

source ·
pub struct R(_);
Expand description

Register WAVE reader

Implementations§

Bits 0:2 - Waveform Generation

Bits 4:5 - Ramp Mode

Bit 7 - Circular period Enable

Bit 8 - Circular Channel 0 Enable

Bit 9 - Circular Channel 1 Enable

Bit 10 - Circular Channel 2 Enable

Bit 11 - Circular Channel 3 Enable

Bit 16 - Channel 0 Polarity

Bit 17 - Channel 1 Polarity

Bit 18 - Channel 2 Polarity

Bit 19 - Channel 3 Polarity

Bit 24 - Swap DTI Output Pair 0

Bit 25 - Swap DTI Output Pair 1

Bit 26 - Swap DTI Output Pair 2

Bit 27 - Swap DTI Output Pair 3

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