RM0366
Bits 20:18 COMP4_BLANKING: Comparator 4 blanking source
These bits select which Timer output controls the comparator 4 output blanking.
000: No blanking
011: TIM15 OC1 selected as blanking source
Other configurations: reserved, must be kept at reset value
Bits 17:16 Reserved, must be kept at reset value.
Bit 15 COMP4POL: Comparator 4 output polarity
This bit is used to invert the comparator 4 output.
0: Output is not inverted
1: Output is inverted
Bit 14 Reserved, must be kept at reset value.
Bits 13:10 COMP4OUTSEL[3:0]: Comparator 4 output selection
These bits select which Timer input must be connected with the comparator4 output.
0000: No timer input selected
0001: (BRK) Timer 1 break input
0010: (BRK2) Timer 1 break input 2
0101: Timer 1 break input 2
1000: Timer 15 input capture 2
1010: Timer 15 OCREF_CLR input
Remaining combinations: reserved.
Bits 9:7 Reserved, must be kept at reset value.
Bits 6:4 COMP4INMSEL[2:0]: Comparator 4 inverting input selection
These bits allows to select the source connected to the inverting input of the comparator 4.
000: 1/4 of Vrefint
001: 1/2 of Vrefint
010: 3/4 of Vrefint
011: Vrefint
100: PA4 or DAC1_CH1 output if enabled
111: PB2
Remaining combinations: reserved.
Bits 3:1 Reserved, must be kept at reset value.
Bit 0 COMP4EN: Comparator 4 enable
This bit switches COMP4 ON/OFF.
0: Comparator 4 disabled
1: Comparator 4 enabled
14.5.3
COMP6 control and status register (COMP6_CSR)
Address offset: 0x30
Reset value: 0x0000 0000
31
30
29
28
COMP
COMP
Res.
Res.
6LOCK
6OUT
rw
r
27
26
25
24
Res.
Res.
Res.
Res.
RM0366 Rev 5
23
22
21
20
Res.
Res
Res.
COMP6_BLANKING[2:0]
rw
Comparator (COMP)
19
18
17
16
Res.
rw
rw
rw
rw
299/874
302
Need help?
Do you have a question about the STM32F301 6 Series and is the answer not in the manual?