STMicroelectronics RM0365 Reference Manual page 12

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0365
17
Comparator (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
17.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
17.2
COMP main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
17.3
COMP functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
17.3.1
17.3.2
17.3.3
17.3.4
17.3.5
17.3.6
17.3.7
17.4
COMP interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
17.5
COMP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
17.5.1
17.5.2
17.5.3
17.5.4
17.5.5
18
Operational amplifier (OPAMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
18.1
OPAMP introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
18.2
OPAMP main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
18.3
OPAMP functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
18.3.1
18.3.2
18.3.3
18.3.4
18.3.5
18.3.6
18.3.7
18.4
OPAMP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
18.4.1
18.4.2
18.4.3
19
Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
COMP block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
COMP pins and internal signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
COMP reset and clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Comparator LOCK mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Hysteresis (STM32F302xBxC only) . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Comparator output blanking function . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Power mode (STM32F302xB/C only) . . . . . . . . . . . . . . . . . . . . . . . . . 412
COMP1 control and status register (COMP1_CSR) . . . . . . . . . . . . . . 413
COMP2 control and status register (COMP2_CSR) . . . . . . . . . . . . . . 415
COMP4 control and status register (COMP4_CSR) . . . . . . . . . . . . . . 418
COMP6 control and status register (COMP6_CSR) . . . . . . . . . . . . . . 420
COMP register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Using the OPAMP outputs as ADC inputs . . . . . . . . . . . . . . . . . . . . . . 425
Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Timer controlled Multiplexer mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
OPAMP modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
OPAMP1 control register (OPAMP1_CSR) . . . . . . . . . . . . . . . . . . . . . 431
OPAMP2 control register (OPAMP2_CSR) . . . . . . . . . . . . . . . . . . . . . 433
OPAMP register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
DocID025202 Rev 7
Contents
12/1080
27

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents