[][src]Struct stm32l4xx_hal::stm32::adc::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn adcal(&mut self) -> _ADCALW[src]

Bit 31 - ADCAL

pub fn adcaldif(&mut self) -> _ADCALDIFW[src]

Bit 30 - ADCALDIF

pub fn deeppwd(&mut self) -> _DEEPPWDW[src]

Bit 29 - DEEPPWD

pub fn advregen(&mut self) -> _ADVREGENW[src]

Bit 28 - ADVREGEN

pub fn jadstp(&mut self) -> _JADSTPW[src]

Bit 5 - JADSTP

pub fn adstp(&mut self) -> _ADSTPW[src]

Bit 4 - ADSTP

pub fn jadstart(&mut self) -> _JADSTARTW[src]

Bit 3 - JADSTART

pub fn adstart(&mut self) -> _ADSTARTW[src]

Bit 2 - ADSTART

pub fn addis(&mut self) -> _ADDISW[src]

Bit 1 - ADDIS

pub fn aden(&mut self) -> _ADENW[src]

Bit 0 - ADEN

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self