Struct stm32l151::comp::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 tsusp(&mut self) -> _TSUSPW
[src]
Bit 31 - Suspend Timer Mode
fn caie(&mut self) -> _CAIEW
[src]
Bit 29 - Channel Acquisition Interrupt Enable / Clear
fn rch13(&mut self) -> _RCH13W
[src]
Bit 28 - Select GPIO port PC3 as re-routed ADC input channel CH13.
fn fch8(&mut self) -> _FCH8W
[src]
Bit 27 - Select GPIO port PB0 as fast ADC input channel CH8.
fn fch3(&mut self) -> _FCH3W
[src]
Bit 26 - Select GPIO port PA3 as fast ADC input channel CH3.
fn outsel(&mut self) -> _OUTSELW
[src]
Bits 21:23 - Comparator 2 output selection
fn insel(&mut self) -> _INSELW
[src]
Bits 18:20 - Inverted input selection
fn wndwe(&mut self) -> _WNDWEW
[src]
Bit 17 - Window mode enable
fn vrefouten(&mut self) -> _VREFOUTENW
[src]
Bit 16 - VREFINT output enable
fn speed(&mut self) -> _SPEEDW
[src]
Bit 12 - Comparator 2 speed mode
fn sw1(&mut self) -> _SW1W
[src]
Bit 5 - SW1 analog switch enable
fn cmp1en(&mut self) -> _CMP1ENW
[src]
Bit 4 - Comparator 1 enable
fn pd400k(&mut self) -> _PD400KW
[src]
Bit 3 - 400 kO pull-down resistor
fn pd10k(&mut self) -> _PD10KW
[src]
Bit 2 - 10 kO pull-down resistor
fn pu400k(&mut self) -> _PU400KW
[src]
Bit 1 - 400 kO pull-up resistor
fn pu10k(&mut self) -> _PU10KW
[src]
Bit 0 - 10 kO pull-up resistor