ST STM32G0 1 Series Reference Manual page 456

Table of Contents

Advertisement

Comparator (COMP)
Bit 24:20 BLANKSEL[4:0]: Comparator 3 blanking source selector
Bit 19:18 PWRMODE[1:0]: Comparator 3 power mode selector
Bit 17:16 HYST[1:0]: Comparator 3 hysteresis selector
Bit 15 POLARITY: Comparator 3 polarity selector
Bit 14 WINOUT: Comparator 3 output selector
Bits 13:12 Reserved, must be kept at reset value
Bit 11 WINMODE: Comparator 3 non-inverting input selector for window mode
Bit 10 Reserved, must be kept at reset value
Bits 9:8 INPSEL[1:0]: Comparator 3 signal selector for non-inverting input
456/1390
This bitfield is controlled by software (if not locked). It selects the blanking source:
00000: None (no blanking)
xxxx1: TIM1 OC4
xxx1x: TIM1 OC5
xx1xx: TIM2 OC3
x1xxx: TIM3 OC3
1xxxx: TIM15 OC2
This bitfield is controlled by software (if not locked). It selects the power consumption and as
a consequence the speed of the comparator 3:
00: High speed
01: Medium speed
others: Reserved
This bitfield is controlled by software (if not locked). It selects the hysteresis of the
comparator 3:
00: None
01: Low
10: Medium
11: High
This bit is controlled by software (if not locked). It selects the comparator 3 output polarity:
0: Non-inverted
1: Inverted
This bit is controlled by software (if not locked). It selects the comparator 3 output:
0: COMP3_VALUE
1: COMP2_VALUE XOR COMP3_VALUE (required for window mode, see
This bit is controlled by software (if not locked). It selects the signal for COMP3_INP input of
the comparator 3:
0: Signal selected with INPSEL[1:0] bitfield of this register
1: COMP2_INP signal of the comparator 2 (required for window mode, see
This bitfield is controlled by software (if not locked). It selects the signal for the non-inverting
input COMP3_INP of the comparator 3 (also see the WINMODE bit):
00: PB0
01: PC1
10: PE7
11: None (open)
RM0444 Rev 5
RM0444
Figure
69)
Figure
69)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF