Struct stm32f303x_memory_map::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 comp1en(&mut self) -> _Comp1enW
Bit 0 - Comparator 1 enable
fn comp1_inp_dac(&mut self) -> _Comp1InpDacW
Bit 1 - COMP1_INP_DAC
fn comp1mode(&mut self) -> _Comp1modeW
Bits 2:3 - Comparator 1 mode
fn comp1insel(&mut self) -> _Comp1inselW
Bits 4:6 - Comparator 1 inverting input selection
fn comp1_out_sel(&mut self) -> _Comp1OutSelW
Bits 10:13 - Comparator 1 output selection
fn comp1pol(&mut self) -> _Comp1polW
Bit 15 - Comparator 1 output polarity
fn comp1hyst(&mut self) -> _Comp1hystW
Bits 16:17 - Comparator 1 hysteresis
fn comp1_blanking(&mut self) -> _Comp1BlankingW
Bits 18:20 - Comparator 1 blanking source
fn comp1lock(&mut self) -> _Comp1lockW
Bit 31 - Comparator 1 lock