[−][src]Type Definition stm32wb_pac::comp::comp2_csr::W
type W = W<u32, COMP2_CSR>;
Writer for register COMP2_CSR
Implementations
impl W
[src]
pub fn comp2_en(&mut self) -> COMP2_EN_W<'_>
[src]
Bit 0 - Comparator 2 enable bit
pub fn comp2_pwrmode(&mut self) -> COMP2_PWRMODE_W<'_>
[src]
Bits 2:3 - Power Mode of the comparator 2
pub fn comp2_inmsel(&mut self) -> COMP2_INMSEL_W<'_>
[src]
Bits 4:5 - Comparator 2 input minus selection bits
pub fn comp2_inpsel(&mut self) -> COMP2_INPSEL_W<'_>
[src]
Bits 7:8 - Comparator 1 input plus selection bit
pub fn comp2_winmode(&mut self) -> COMP2_WINMODE_W<'_>
[src]
Bit 9 - Windows mode selection bit
pub fn comp2_polarity(&mut self) -> COMP2_POLARITY_W<'_>
[src]
Bit 15 - Comparator 2 polarity selection bit
pub fn comp2_hyst(&mut self) -> COMP2_HYST_W<'_>
[src]
Bits 16:17 - Comparator 2 hysteresis selection bits
pub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W<'_>
[src]
Bits 18:20 - Comparator 2 blanking source selection bits
pub fn comp2_brgen(&mut self) -> COMP2_BRGEN_W<'_>
[src]
Bit 22 - Scaler bridge enable
pub fn comp2_scalen(&mut self) -> COMP2_SCALEN_W<'_>
[src]
Bit 23 - Voltage scaler enable bit
pub fn comp2_inmesel(&mut self) -> COMP2_INMESEL_W<'_>
[src]
Bits 25:26 - comparator 2 input minus extended selection bits.
pub fn comp2_lock(&mut self) -> COMP2_LOCK_W<'_>
[src]
Bit 31 - CSR register lock bit