Struct stm32l0x1::syscfg_comp::comp1_ctrl::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn comp1en(&mut self) -> _COMP1ENW
[src]
pub fn comp1en(&mut self) -> _COMP1ENW
Bit 0 - Comparator 1 enable bit
pub fn comp1innsel(&mut self) -> _COMP1INNSELW
[src]
pub fn comp1innsel(&mut self) -> _COMP1INNSELW
Bits 4:5 - Comparator 1 Input Minus connection configuration bit
pub fn comp1wm(&mut self) -> _COMP1WMW
[src]
pub fn comp1wm(&mut self) -> _COMP1WMW
Bit 8 - Comparator 1 window mode selection bit
pub fn comp1lptimin1(&mut self) -> _COMP1LPTIMIN1W
[src]
pub fn comp1lptimin1(&mut self) -> _COMP1LPTIMIN1W
Bit 12 - Comparator 1 LPTIM input propagation bit
pub fn comp1polarity(&mut self) -> _COMP1POLARITYW
[src]
pub fn comp1polarity(&mut self) -> _COMP1POLARITYW
Bit 15 - Comparator 1 polarity selection bit
pub fn comp1value(&mut self) -> _COMP1VALUEW
[src]
pub fn comp1value(&mut self) -> _COMP1VALUEW
Bit 30 - Comparator 1 output status bit
pub fn comp1lock(&mut self) -> _COMP1LOCKW
[src]
pub fn comp1lock(&mut self) -> _COMP1LOCKW
Bit 31 - COMP1_CSR register lock bit