[][src]Type Definition stm32wb_pac::comp::comp1_csr::W

type W = W<u32, COMP1_CSR>;

Writer for register COMP1_CSR

Implementations

impl W[src]

pub fn comp1_en(&mut self) -> COMP1_EN_W<'_>[src]

Bit 0 - Comparator enable

pub fn comp1_pwrmode(&mut self) -> COMP1_PWRMODE_W<'_>[src]

Bits 2:3 - Comparator power mode

pub fn comp1_inmsel(&mut self) -> COMP1_INMSEL_W<'_>[src]

Bits 4:6 - Comparator input minus selection

pub fn comp1_inpsel(&mut self) -> COMP1_INPSEL_W<'_>[src]

Bits 7:8 - Comparator input plus selection

pub fn comp1_polarity(&mut self) -> COMP1_POLARITY_W<'_>[src]

Bit 15 - Comparator output polarity

pub fn comp1_hyst(&mut self) -> COMP1_HYST_W<'_>[src]

Bits 16:17 - Comparator hysteresis

pub fn comp1_blanking(&mut self) -> COMP1_BLANKING_W<'_>[src]

Bits 18:20 - Comparator blanking source

pub fn comp1_brgen(&mut self) -> COMP1_BRGEN_W<'_>[src]

Bit 22 - Comparator voltage scaler enable

pub fn comp1_scalen(&mut self) -> COMP1_SCALEN_W<'_>[src]

Bit 23 - Comparator scaler bridge enable

pub fn comp1_inmesel(&mut self) -> COMP1_INMESEL_W<'_>[src]

Bits 25:26 - Comparator input minus extended selection

pub fn comp1_lock(&mut self) -> COMP1_LOCK_W<'_>[src]

Bit 31 - Comparator lock