[][src]Struct imxrt1062_adc1::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

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

Writes raw bits to the register

impl W<u32, Reg<u32, _HC0>>[src]

pub fn adch(&mut self) -> ADCH_W[src]

Bits 0:4 - Input Channel Select

pub fn aien(&mut self) -> AIEN_W[src]

Bit 7 - Conversion Complete Interrupt Enable/Disable Control

impl W<u32, Reg<u32, _HC>>[src]

pub fn adch(&mut self) -> ADCH_W[src]

Bits 0:4 - Input Channel Select

pub fn aien(&mut self) -> AIEN_W[src]

Bit 7 - Conversion Complete Interrupt Enable/Disable Control

impl W<u32, Reg<u32, _CFG>>[src]

pub fn adiclk(&mut self) -> ADICLK_W[src]

Bits 0:1 - Input Clock Select

pub fn mode(&mut self) -> MODE_W[src]

Bits 2:3 - Conversion Mode Selection

pub fn adlsmp(&mut self) -> ADLSMP_W[src]

Bit 4 - Long Sample Time Configuration

pub fn adiv(&mut self) -> ADIV_W[src]

Bits 5:6 - Clock Divide Select

pub fn adlpc(&mut self) -> ADLPC_W[src]

Bit 7 - Low-Power Configuration

pub fn adsts(&mut self) -> ADSTS_W[src]

Bits 8:9 - Defines the sample time duration

pub fn adhsc(&mut self) -> ADHSC_W[src]

Bit 10 - High Speed Configuration

pub fn refsel(&mut self) -> REFSEL_W[src]

Bits 11:12 - Voltage Reference Selection

pub fn adtrg(&mut self) -> ADTRG_W[src]

Bit 13 - Conversion Trigger Select

pub fn avgs(&mut self) -> AVGS_W[src]

Bits 14:15 - Hardware Average select

pub fn ovwren(&mut self) -> OVWREN_W[src]

Bit 16 - Data Overwrite Enable

impl W<u32, Reg<u32, _GC>>[src]

pub fn adacken(&mut self) -> ADACKEN_W[src]

Bit 0 - Asynchronous clock output enable

pub fn dmaen(&mut self) -> DMAEN_W[src]

Bit 1 - DMA Enable

pub fn acren(&mut self) -> ACREN_W[src]

Bit 2 - Compare Function Range Enable

pub fn acfgt(&mut self) -> ACFGT_W[src]

Bit 3 - Compare Function Greater Than Enable

pub fn acfe(&mut self) -> ACFE_W[src]

Bit 4 - Compare Function Enable

pub fn avge(&mut self) -> AVGE_W[src]

Bit 5 - Hardware average enable

pub fn adco(&mut self) -> ADCO_W[src]

Bit 6 - Continuous Conversion Enable

pub fn cal(&mut self) -> CAL_W[src]

Bit 7 - Calibration

impl W<u32, Reg<u32, _GS>>[src]

pub fn calf(&mut self) -> CALF_W[src]

Bit 1 - Calibration Failed Flag

pub fn awkst(&mut self) -> AWKST_W[src]

Bit 2 - Asynchronous wakeup interrupt status

impl W<u32, Reg<u32, _CV>>[src]

pub fn cv1(&mut self) -> CV1_W[src]

Bits 0:11 - Compare Value 1

pub fn cv2(&mut self) -> CV2_W[src]

Bits 16:27 - Compare Value 2

impl W<u32, Reg<u32, _OFS>>[src]

pub fn ofs(&mut self) -> OFS_W[src]

Bits 0:11 - Offset value

pub fn sign(&mut self) -> SIGN_W[src]

Bit 12 - Sign bit

impl W<u32, Reg<u32, _CAL>>[src]

pub fn cal_code(&mut self) -> CAL_CODE_W[src]

Bits 0:3 - Calibration Result Value

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.