[][src]Struct lpc55s6x_pac::adc0::ctrl::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 Self[src]

Writes raw bits to the register

pub fn adcen(&mut self) -> _ADCENW[src]

Bit 0 - ADC Enable

pub fn rst(&mut self) -> _RSTW[src]

Bit 1 - Software Reset

pub fn dozen(&mut self) -> _DOZENW[src]

Bit 2 - Doze Enable

pub fn cal_req(&mut self) -> _CAL_REQW[src]

Bit 3 - Auto-Calibration Request

pub fn calofs(&mut self) -> _CALOFSW[src]

Bit 4 - Configure for offset calibration function

pub fn rstfifo0(&mut self) -> _RSTFIFO0W[src]

Bit 8 - Reset FIFO 0

pub fn rstfifo1(&mut self) -> _RSTFIFO1W[src]

Bit 9 - Reset FIFO 1

pub fn cal_avgs(&mut self) -> _CAL_AVGSW[src]

Bits 16:18 - Auto-Calibration Averages

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self