Table 109. Comp1 Input Plus Assignment; Table 110. Comp1 Input Minus Assignment; Figure 138. Comparators Block Diagram; Comp Functional Description - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

Comparator (COMP)
19.3

COMP functional description

19.3.1
COMP block diagram
The block diagram of the comparators is shown in
19.3.2
COMP pins and internal signals
The I/Os used as comparators inputs must be configured in analog mode in the GPIOs
registers.
The comparator output can be connected to the I/Os using the alternate function channel
given in "Alternate function mapping" table in the datasheet.
The output can also be internally redirected to a variety of timer input for the following
purposes:
Emergency shut-down of PWM signals, using BKIN and BKIN2 inputs
Cycle-by-cycle current control, using OCREF_CLR inputs
Input capture for timing measures
It is possible to have the comparator output simultaneously redirected internally and
externally.
PC5
PB2
¼ V
REFINT
½ V
REFINT
578/1693

Figure 138. Comparators block diagram

Table 109. COMP1 input plus assignment

COMP1_INP

Table 110. COMP1 input minus assignment

COMP1_INM
DocID024597 Rev 3
Figure 138: Comparators block
COMP1_INPSEL
0
1
COMP1_INMSEL[2:0]
000
001
RM0351
diagram.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Table of Contents

Save PDF