pub type R = R<COMP2_CSRrs>;
Expand description
Register COMP2_CSR
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn comp2_inp_dac(&self) -> COMP2_INP_DAC_R
pub fn comp2_inp_dac(&self) -> COMP2_INP_DAC_R
Bit 1 - Comparator 2 non inverting input connection to DAC output
Sourcepub fn comp2mode(&self) -> COMP2MODE_R
pub fn comp2mode(&self) -> COMP2MODE_R
Bits 2:3 - Comparator 2 mode
Sourcepub fn comp2inmsel(&self) -> COMP2INMSEL_R
pub fn comp2inmsel(&self) -> COMP2INMSEL_R
Bits 4:6 - Comparator 2 inverting input selection
Sourcepub fn comp2inpsel(&self) -> COMP2INPSEL_R
pub fn comp2inpsel(&self) -> COMP2INPSEL_R
Bit 7 - Comparator 2 non inverted input
Sourcepub fn comp2winmode(&self) -> COMP2WINMODE_R
pub fn comp2winmode(&self) -> COMP2WINMODE_R
Bit 9 - Comparator 2 window mode
Sourcepub fn comp2outsel(&self) -> COMP2OUTSEL_R
pub fn comp2outsel(&self) -> COMP2OUTSEL_R
Bits 10:13 - Comparator 2 output selection
Sourcepub fn comp2pol(&self) -> COMP2POL_R
pub fn comp2pol(&self) -> COMP2POL_R
Bit 15 - Comparator 2 output polarity
Sourcepub fn comp2hyst(&self) -> COMP2HYST_R
pub fn comp2hyst(&self) -> COMP2HYST_R
Bits 16:17 - Comparator 2 hysteresis
Sourcepub fn comp2_blanking(&self) -> COMP2_BLANKING_R
pub fn comp2_blanking(&self) -> COMP2_BLANKING_R
Bits 18:20 - Comparator 2 blanking source
Sourcepub fn comp2out(&self) -> COMP2OUT_R
pub fn comp2out(&self) -> COMP2OUT_R
Bit 30 - Comparator 2 output
Sourcepub fn comp2lock(&self) -> COMP2LOCK_R
pub fn comp2lock(&self) -> COMP2LOCK_R
Bit 31 - Comparator 2 lock