Comparator (COMP)
Current limit
Raw comp output
Blanking window
Final comp output
14.4
COMP interrupts
The comparator outputs are internally connected to the Extended interrupts and events
controller. Each comparator has its own EXTI line and can generate either interrupts or
events. The same mechanism is used to exit from low-power modes.
Refer to Interrupt and events section for more details.
14.5
COMP registers
14.5.1
COMP2 control and status register (COMP2_CSR)
Address offset: 0x20
Reset value: 0x0000 0000
31
30
29
28
COMP
COMP
Res.
Res.
2LOCK
2OUT
rwo
r
15
14
13
12
COMP
Res.
COMP2OUTSEL[3:0]
2POL
rw
rw
rw
296/874
Figure 80. Comparator output blanking
PWM
Current
Comp out
Blank
27
26
25
Res.
Res.
Res.
11
10
9
Res.
rw
rw
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
Res.
Res.
COMP2INMSEL[2:0]
rw
rw
RM0366 Rev 5
Comp out (to TIM_BK ...)
20
19
18
COMP2_BLANKING[2:0]
rw
rw
rw
5
4
3
2
Res.
rw
rw
rw
RM0366
MS30964V1
17
16
Res.
rw
rw
1
0
COMP2
COMP2
_INP_D
EN
AC
rw
rw
Need help?
Do you have a question about the STM32F301 6 Series and is the answer not in the manual?