pub struct W(_);
Expand description

Register CTL1 writer

Implementations

Bit 24 - enable/disable the VBAT channel

Bit 23 - Channel 16 and 17 enable of ADC

Bit 22 - Start on regular channel

Bit 21 - Start on inserted channel

Bit 20 - External trigger enable for regular channel

Bits 17:19 - External trigger select for regular channel

Bit 15 - External trigger enable for inserted channel

Bits 12:14 - External trigger select for inserted channel

Bit 11 - Data alignment

Bit 8 - DMA request enable

Bit 3 - Reset calibration

Bit 2 - ADC calibration

Bit 1 - Continuous mode

Bit 0 - ADC ON

Writes raw bits to the register.

Methods from Deref<Target = W<CTL1_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.