W

Struct W 

Source
pub struct W(/* private fields */);
Expand description

Register CFGR1 writer

Implementations§

Source§

impl W

Source

pub fn awdch1ch(&mut self) -> AWDCH1CH_W<'_>

Bits 26:30 - ADC analog watchdog 1 monitored channel selection

Source

pub fn awd1en(&mut self) -> AWD1EN_W<'_>

Bit 23 - ADC analog watchdog 1 enable on scope ADC group regular

Source

pub fn awd1sgl(&mut self) -> AWD1SGL_W<'_>

Bit 22 - ADC analog watchdog 1 monitoring a single channel or all channels

Source

pub fn chselrmod(&mut self) -> CHSELRMOD_W<'_>

Bit 21 - Mode selection of the ADC_CHSELR register

Source

pub fn discen(&mut self) -> DISCEN_W<'_>

Bit 16 - ADC group regular sequencer discontinuous mode

Source

pub fn autoff(&mut self) -> AUTOFF_W<'_>

Bit 15 - Auto-off mode

Source

pub fn wait(&mut self) -> WAIT_W<'_>

Bit 14 - Wait conversion mode

Source

pub fn cont(&mut self) -> CONT_W<'_>

Bit 13 - ADC group regular continuous conversion mode

Source

pub fn ovrmod(&mut self) -> OVRMOD_W<'_>

Bit 12 - ADC group regular overrun configuration

Source

pub fn exten(&mut self) -> EXTEN_W<'_>

Bits 10:11 - ADC group regular external trigger polarity

Source

pub fn extsel(&mut self) -> EXTSEL_W<'_>

Bits 6:8 - ADC group regular external trigger source

Source

pub fn align(&mut self) -> ALIGN_W<'_>

Bit 5 - ADC data alignement

Source

pub fn res(&mut self) -> RES_W<'_>

Bits 3:4 - ADC data resolution

Source

pub fn scandir(&mut self) -> SCANDIR_W<'_>

Bit 2 - Scan sequence direction

Source

pub fn dmacfg(&mut self) -> DMACFG_W<'_>

Bit 1 - ADC DMA transfer configuration

Source

pub fn dmaen(&mut self) -> DMAEN_W<'_>

Bit 0 - ADC DMA transfer enable

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

Methods from Deref<Target = W<CFGR1_SPEC>>§

Source

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<CFGR1_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
Source§

impl From<W<CFGR1_SPEC>> for W

Source§

fn from(writer: W<CFGR1_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.