Struct stm32l151::comp::csr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
[src]
Value of the register as raw bits
fn tsusp(&self) -> TSUSPR
[src]
Bit 31 - Suspend Timer Mode
fn caif(&self) -> CAIFR
[src]
Bit 30 - Channel acquisition interrupt flag
fn caie(&self) -> CAIER
[src]
Bit 29 - Channel Acquisition Interrupt Enable / Clear
fn rch13(&self) -> RCH13R
[src]
Bit 28 - Select GPIO port PC3 as re-routed ADC input channel CH13.
fn fch8(&self) -> FCH8R
[src]
Bit 27 - Select GPIO port PB0 as fast ADC input channel CH8.
fn fch3(&self) -> FCH3R
[src]
Bit 26 - Select GPIO port PA3 as fast ADC input channel CH3.
fn outsel(&self) -> OUTSELR
[src]
Bits 21:23 - Comparator 2 output selection
fn insel(&self) -> INSELR
[src]
Bits 18:20 - Inverted input selection
fn wndwe(&self) -> WNDWER
[src]
Bit 17 - Window mode enable
fn vrefouten(&self) -> VREFOUTENR
[src]
Bit 16 - VREFINT output enable
fn cmp2out(&self) -> CMP2OUTR
[src]
Bit 13 - Comparator 2 output
fn speed(&self) -> SPEEDR
[src]
Bit 12 - Comparator 2 speed mode
fn cmp1out(&self) -> CMP1OUTR
[src]
Bit 7 - Comparator 1 output
fn sw1(&self) -> SW1R
[src]
Bit 5 - SW1 analog switch enable
fn cmp1en(&self) -> CMP1ENR
[src]
Bit 4 - Comparator 1 enable
fn pd400k(&self) -> PD400KR
[src]
Bit 3 - 400 kO pull-down resistor
fn pd10k(&self) -> PD10KR
[src]
Bit 2 - 10 kO pull-down resistor
fn pu400k(&self) -> PU400KR
[src]
Bit 1 - 400 kO pull-up resistor
fn pu10k(&self) -> PU10KR
[src]
Bit 0 - 10 kO pull-up resistor