[][src]Struct imxrt1062_cmp1::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<u8, Reg<u8, _CR0>>[src]

pub fn hystctr(&mut self) -> HYSTCTR_W[src]

Bits 0:1 - Comparator hard block hysteresis control

pub fn filter_cnt(&mut self) -> FILTER_CNT_W[src]

Bits 4:6 - Filter Sample Count

impl W<u8, Reg<u8, _CR1>>[src]

pub fn en(&mut self) -> EN_W[src]

Bit 0 - Comparator Module Enable

pub fn ope(&mut self) -> OPE_W[src]

Bit 1 - Comparator Output Pin Enable

pub fn cos(&mut self) -> COS_W[src]

Bit 2 - Comparator Output Select

pub fn inv(&mut self) -> INV_W[src]

Bit 3 - Comparator INVERT

pub fn pmode(&mut self) -> PMODE_W[src]

Bit 4 - Power Mode Select

pub fn we(&mut self) -> WE_W[src]

Bit 6 - Windowing Enable

pub fn se(&mut self) -> SE_W[src]

Bit 7 - Sample Enable

impl W<u8, Reg<u8, _FPR>>[src]

pub fn filt_per(&mut self) -> FILT_PER_W[src]

Bits 0:7 - Filter Sample Period

impl W<u8, Reg<u8, _SCR>>[src]

pub fn cff(&mut self) -> CFF_W[src]

Bit 1 - Analog Comparator Flag Falling

pub fn cfr(&mut self) -> CFR_W[src]

Bit 2 - Analog Comparator Flag Rising

pub fn ief(&mut self) -> IEF_W[src]

Bit 3 - Comparator Interrupt Enable Falling

pub fn ier(&mut self) -> IER_W[src]

Bit 4 - Comparator Interrupt Enable Rising

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

Bit 6 - DMA Enable Control

impl W<u8, Reg<u8, _DACCR>>[src]

pub fn vosel(&mut self) -> VOSEL_W[src]

Bits 0:5 - DAC Output Voltage Select

pub fn vrsel(&mut self) -> VRSEL_W[src]

Bit 6 - Supply Voltage Reference Source Select

pub fn dacen(&mut self) -> DACEN_W[src]

Bit 7 - DAC Enable

impl W<u8, Reg<u8, _MUXCR>>[src]

pub fn msel(&mut self) -> MSEL_W[src]

Bits 0:2 - Minus Input Mux Control

pub fn psel(&mut self) -> PSEL_W[src]

Bits 3:5 - Plus Input Mux Control

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.