Type Definition stm32g0::stm32g081::comp::comp1_csr::R [−][src]
type R = R<u32, COMP1_CSR>;
Reader of register COMP1_CSR
Implementations
impl R
[src]
pub fn en(&self) -> EN_R
[src]
Bit 0 - COMP channel 1 enable bit
pub fn inmsel(&self) -> INMSEL_R
[src]
Bits 4:7 - Comparator 2 signal selector for inverting input INM
pub fn inpsel(&self) -> INPSEL_R
[src]
Bits 8:9 - Comparator 2 signal selector for non-inverting input
pub fn winmode(&self) -> WINMODE_R
[src]
Bit 11 - Comparator 2 non-inverting input selector for window mode
pub fn winout(&self) -> WINOUT_R
[src]
Bit 14 - Comparator 2 output selector
pub fn polarity(&self) -> POLARITY_R
[src]
Bit 15 - Comparator 2 polarity selector
pub fn hyst(&self) -> HYST_R
[src]
Bits 16:17 - Comparator 2 hysteresis selector
pub fn pwrmode(&self) -> PWRMODE_R
[src]
Bits 18:19 - Comparator 2 power mode selector
pub fn blanksel(&self) -> BLANKSEL_R
[src]
Bits 20:24 - Comparator 2 blanking source selector
pub fn value(&self) -> VALUE_R
[src]
Bit 30 - Comparator 2 output status
pub fn lock(&self) -> LOCK_R
[src]
Bit 31 - COMP2_CSR register lock