Struct stm32f1xx_hal::pac::adc2::cr2::W

source ·
pub struct W(_);
Expand description

Register CR2 writer

Implementations§

Bit 23 - Temperature sensor and VREFINT enable

Bit 22 - Start conversion of regular channels

Bit 21 - Start conversion of injected channels

Bit 20 - External trigger conversion mode for regular channels

Bits 17:19 - External event select for regular group

Bit 15 - External trigger conversion mode for injected channels

Bits 12:14 - External event select for injected group

Bit 11 - Data alignment

Bit 8 - Direct memory access mode

Bit 3 - Reset calibration

Bit 2 - A/D calibration

Bit 1 - Continuous conversion

Bit 0 - A/D converter ON / OFF

Writes raw bits to the register.

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