pub type R = R<COMP4_CSRrs>;
Expand description
Register COMP4_CSR
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn comp4mode(&self) -> COMP4MODE_R
pub fn comp4mode(&self) -> COMP4MODE_R
Bits 2:3 - Comparator 4 mode
Sourcepub fn comp4inmsel(&self) -> COMP4INMSEL_R
pub fn comp4inmsel(&self) -> COMP4INMSEL_R
Bits 4:6 - Comparator 4 inverting input selection
Sourcepub fn comp4inpsel(&self) -> COMP4INPSEL_R
pub fn comp4inpsel(&self) -> COMP4INPSEL_R
Bit 7 - Comparator 4 non inverted input
Sourcepub fn comp4outsel(&self) -> COMP4OUTSEL_R
pub fn comp4outsel(&self) -> COMP4OUTSEL_R
Bits 10:13 - Comparator 4 output selection
Sourcepub fn comp4pol(&self) -> COMP4POL_R
pub fn comp4pol(&self) -> COMP4POL_R
Bit 15 - Comparator 4 output polarity
Sourcepub fn comp4hyst(&self) -> COMP4HYST_R
pub fn comp4hyst(&self) -> COMP4HYST_R
Bits 16:17 - Comparator 4 hysteresis
Sourcepub fn comp4_blanking(&self) -> COMP4_BLANKING_R
pub fn comp4_blanking(&self) -> COMP4_BLANKING_R
Bits 18:20 - Comparator 4 blanking source
Sourcepub fn comp4out(&self) -> COMP4OUT_R
pub fn comp4out(&self) -> COMP4OUT_R
Bit 30 - Comparator 4 output
Sourcepub fn comp4lock(&self) -> COMP4LOCK_R
pub fn comp4lock(&self) -> COMP4LOCK_R
Bit 31 - Comparator 4 lock