Struct stm32f303x_memory_map::comp::comp4_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 comp4en(&mut self) -> _Comp4enW
Bit 0 - Comparator 4 enable
fn comp4mode(&mut self) -> _Comp4modeW
Bits 2:3 - Comparator 4 mode
fn comp4insel(&mut self) -> _Comp4inselW
Bits 4:6 - Comparator 4 inverting input selection
fn comp4inpsel(&mut self) -> _Comp4inpselW
Bit 7 - Comparator 4 non inverted input selection
fn com4winmode(&mut self) -> _Com4winmodeW
Bit 9 - Comparator 4 window mode
fn comp4_out_sel(&mut self) -> _Comp4OutSelW
Bits 10:13 - Comparator 4 output selection
fn comp4pol(&mut self) -> _Comp4polW
Bit 15 - Comparator 4 output polarity
fn comp4hyst(&mut self) -> _Comp4hystW
Bits 16:17 - Comparator 4 hysteresis
fn comp4_blanking(&mut self) -> _Comp4BlankingW
Bits 18:20 - Comparator 4 blanking source
fn comp4lock(&mut self) -> _Comp4lockW
Bit 31 - Comparator 4 lock