STMicroelectronics /STM32L1xx /COMP /CSR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CSR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (PU10K)PU10K 0 (PU400K)PU400K 0 (PD10K)PD10K 0 (PD400K)PD400K 0 (CMP1EN)CMP1EN 0 (SW1)SW1 0 (CMP1OUT)CMP1OUT 0 (SPEED)SPEED 0 (CMP2OUT)CMP2OUT 0 (VREFOUTEN)VREFOUTEN 0 (WNDWE)WNDWE 0INSEL0OUTSEL 0 (FCH3)FCH3 0 (FCH8)FCH8 0 (RCH13)RCH13 0 (CAIE)CAIE 0 (CAIF)CAIF 0 (TSUSP)TSUSP

Description

comparator control and status register

Fields

PU10K

10 kO pull-up resistor

PU400K

400 kO pull-up resistor

PD10K

10 kO pull-down resistor

PD400K

400 kO pull-down resistor

CMP1EN

Comparator 1 enable

SW1

SW1 analog switch enable

CMP1OUT

Comparator 1 output

SPEED

Comparator 2 speed mode

CMP2OUT

Comparator 2 output

VREFOUTEN

VREFINT output enable

WNDWE

Window mode enable

INSEL

Inverted input selection

OUTSEL

Comparator 2 output selection

FCH3

Select GPIO port PA3 as fast ADC input channel CH3.

FCH8

Select GPIO port PB0 as fast ADC input channel CH8.

RCH13

Select GPIO port PC3 as re-routed ADC input channel CH13.

CAIE

Channel Acquisition Interrupt Enable / Clear

CAIF

Channel acquisition interrupt flag

TSUSP

Suspend Timer Mode

Links

()