EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #453 background imageLoading...
Page #453 background image
RM0444 Rev 5 453/1390
RM0444 Comparator (COMP)
458
18.6.2 Comparator 2 control and status register (COMP2_CSR)
Address offset: 0x04
System reset value: 0x0000 0000
Bit 11 WINMODE: Comparator 1 non-inverting input selector for window mode
This bit is controlled by software (if not locked). It selects the signal for COMP1_INP input of
the comparator 1:
0: Signal selected with INPSEL[1:0] bitfield of this register
1: COMP2_INP signal of the comparator 2 (required for window mode, see Figure 69)
Bit 10 Reserved, must be kept at reset value
Bits 9:8 INPSEL[1:0]: Comparator 1 signal selector for non-inverting input
This bitfield is controlled by software (if not locked). It selects the signal for the non-inverting
input COMP1_INP of the comparator 1 (also see the WINMODE bit):
00: PC5
01: PB2
10: PA1
11: None (open)
Bits 7:4 INMSEL[3:0]: Comparator 1 signal selector for inverting input INM
This bitfield is controlled by software (if not locked). It selects the signal for the inverting
input COMP1_INM of the comparator 1:
0000: 1/4 V
REFINT
0001: 1/2 V
REFINT
0010: 3/4 V
REFINT
0011: V
REFINT
0100: DAC channel 1
0101: DAC channel 2
0110: PB1
0111: PC4
1000: PA0
> 1000: 1/4 V
REFINT
Bits 3:1 Reserved, must be kept at reset value
Bit 0 EN: Comparator 1 enable bit
This bit is controlled by software (if not locked). It enables the comparator 1:
0: Disable
1: Enable
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LOCK VALUE Res. Res. Res. Res. Res. BLANKSEL PWRMODE HYST
rw r rwrwrwrwrwrwrwrwrw
15 141312 11 109876543210
POLARITY WINOUT Res. Res. WINMODE Res. INPSEL INMSEL Res. Res. Res. EN
rw rw rw rw rw rw rw rw rw rw

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals