EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #449 background imageLoading...
Page #449 background image
RM0444 Rev 5 449/1390
RM0444 Comparator (COMP)
458
18.3.5 Window comparator
The purpose of window comparator is to monitor the analog voltage if it is within specified
voltage range defined by lower and upper threshold.
COMP1 and COMP2 or COMP2 and COMP3 can combine to create a window comparator.
The monitored analog voltage is connected to the non-inverting (plus) inputs of comparators
connected together and the upper and lower threshold voltages are connected to the
inverting (minus) inputs of the comparators. Two non-inverting inputs can be connected
internally together by enabling WINMODE bit to save one IO for other purposes.
Figure 69. Window mode
18.3.6 Hysteresis
The comparator includes a programmable hysteresis to avoid spurious output transitions in
case of noisy signals. The hysteresis can be disabled if it is not needed (for instance when
exiting from low-power mode) to be able to force the hysteresis value using external
components.
Figure 70. Comparator hysteresis
MSv42191V1
COMPy_INP
COMPy_INM
+
-
COMPy
COMPy WINMODE = 1
COMPx_INP
COMPx_INM
+
-
COMPx
COMPx WINOUT = 1
COMPx_VALUE
COMPy_VALUE
COMPx_OUT
Input
Upper threshold
Lower threshold
COMPy WINOUT = 0
COMPy_OUT
COMPx WINMODE = 0
MS19984V1
INP
INM
INM - V
hyst
COMP_OUT

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals