Struct stm32l4x6::comp::comp1_csr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
fn comp1_en(&mut self) -> _Comp1EnW
Bit 0 - Comparator 1 enable bit
fn comp1_pwrmode(&mut self) -> _Comp1PwrmodeW
Bits 2:3 - Power Mode of the comparator 1
fn comp1_inmsel(&mut self) -> _Comp1InmselW
Bits 4:6 - Comparator 1 Input Minus connection configuration bit
fn comp1_inpsel(&mut self) -> _Comp1InpselW
Bit 7 - Comparator1 input plus selection bit
fn comp1_polarity(&mut self) -> _Comp1PolarityW
Bit 15 - Comparator 1 polarity selection bit
fn comp1_hyst(&mut self) -> _Comp1HystW
Bits 16:17 - Comparator 1 hysteresis selection bits
fn comp1_blanking(&mut self) -> _Comp1BlankingW
Bits 18:20 - Comparator 1 blanking source selection bits
fn comp1_brgen(&mut self) -> _Comp1BrgenW
Bit 22 - Scaler bridge enable
fn comp1_scalen(&mut self) -> _Comp1ScalenW
Bit 23 - Voltage scaler enable bit
fn comp1_lock(&mut self) -> _Comp1LockW
Bit 31 - COMP1_CSR register lock bit