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