Struct stm32f303xe::comp::comp2_csr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn comp2en(&mut self) -> _COMP2ENW
[src]
Bit 0 - Comparator 2 enable
fn comp2mode(&mut self) -> _COMP2MODEW
[src]
Bits 2:3 - Comparator 2 mode
fn comp2insel(&mut self) -> _COMP2INSELW
[src]
Bits 4:6 - Comparator 2 inverting input selection
fn comp2inpsel(&mut self) -> _COMP2INPSELW
[src]
Bit 7 - Comparator 2 non inverted input selection
fn comp2inmsel(&mut self) -> _COMP2INMSELW
[src]
Bit 9 - Comparator 1inverting input selection
fn comp2_out_sel(&mut self) -> _COMP2_OUT_SELW
[src]
Bits 10:13 - Comparator 2 output selection
fn comp2pol(&mut self) -> _COMP2POLW
[src]
Bit 15 - Comparator 2 output polarity
fn comp2hyst(&mut self) -> _COMP2HYSTW
[src]
Bits 16:17 - Comparator 2 hysteresis
fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW
[src]
Bits 18:20 - Comparator 2 blanking source
fn comp2lock(&mut self) -> _COMP2LOCKW
[src]
Bit 31 - Comparator 2 lock