[][src]Type Definition lpc55s6x_pac::pmc::comp::R

type R = R<u32, COMP>;

Reader of register COMP

Methods

impl R[src]

pub fn hyst(&self) -> HYST_R[src]

Bit 1 - Hysteris when hyst = '1'.

pub fn vrefinput(&self) -> VREFINPUT_R[src]

Bit 2 - Dedicated control bit to select between internal VREF and VDDA (for the resistive ladder).

pub fn lowpower(&self) -> LOWPOWER_R[src]

Bit 3 - Low power mode.

pub fn pmux(&self) -> PMUX_R[src]

Bits 4:6 - Control word for P multiplexer:.

pub fn nmux(&self) -> NMUX_R[src]

Bits 7:9 - Control word for N multiplexer:.

pub fn vref(&self) -> VREF_R[src]

Bits 10:14 - Control reference voltage step, per steps of (VREFINPUT/31).

pub fn filtercgf_samplemode(&self) -> FILTERCGF_SAMPLEMODE_R[src]

Bits 16:17 - Control the filtering of the Analog Comparator output.

pub fn filtercgf_clkdiv(&self) -> FILTERCGF_CLKDIV_R[src]

Bits 18:20 - Filter Clock divider.