pub type R = R<u32, COMP1_CSR>;
Expand description
Reader of register COMP1_CSR
Aliased Type§
pub struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn comp1_en(&self) -> COMP1_EN_R
pub fn comp1_en(&self) -> COMP1_EN_R
Bit 0 - Comparator enable
Sourcepub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
Bits 2:3 - Comparator power mode
Sourcepub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
Bits 4:6 - Comparator input minus selection
Sourcepub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
Bits 7:8 - Comparator input plus selection
Sourcepub fn comp1_polarity(&self) -> COMP1_POLARITY_R
pub fn comp1_polarity(&self) -> COMP1_POLARITY_R
Bit 15 - Comparator output polarity
Sourcepub fn comp1_hyst(&self) -> COMP1_HYST_R
pub fn comp1_hyst(&self) -> COMP1_HYST_R
Bits 16:17 - Comparator hysteresis
Sourcepub fn comp1_blanking(&self) -> COMP1_BLANKING_R
pub fn comp1_blanking(&self) -> COMP1_BLANKING_R
Bits 18:20 - Comparator blanking source
Sourcepub fn comp1_brgen(&self) -> COMP1_BRGEN_R
pub fn comp1_brgen(&self) -> COMP1_BRGEN_R
Bit 22 - Comparator voltage scaler enable
Sourcepub fn comp1_scalen(&self) -> COMP1_SCALEN_R
pub fn comp1_scalen(&self) -> COMP1_SCALEN_R
Bit 23 - Comparator scaler bridge enable
Sourcepub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
pub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
Bits 25:26 - Comparator input minus extended selection
Sourcepub fn comp1_value(&self) -> COMP1_VALUE_R
pub fn comp1_value(&self) -> COMP1_VALUE_R
Bit 30 - Comparator output level
Sourcepub fn comp1_lock(&self) -> COMP1_LOCK_R
pub fn comp1_lock(&self) -> COMP1_LOCK_R
Bit 31 - Comparator lock