EasyManuals Logo

STMicroelectronics STM32WL5 Series User Manual

STMicroelectronics STM32WL5 Series
1450 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 #630 background imageLoading...
Page #630 background image
Comparator (COMP) RM0453
630/1450 RM0453 Rev 5
Bits 20:18 BLANKING[2:0]: COMP2 blanking source selection
These bits select which timer output controls the COMP2 output blanking.
000: No blanking
001: TIM1 OC5 selected as blanking source
010: TIM2 OC3 selected as blanking source
Others: reserved
Bits 17:16 HYST[1:0]: COMP2 hysteresis selection
These bits are set and cleared by software. They select the COMP2 hysteresis voltage.
00: No hysteresis
01: Low hysteresis
10: Medium hysteresis
11: High hysteresis
Bit 15 POLARITY: COMP2 polarity selection
This bit is set and cleared by software. It inverts COMP2 polarity.
0: COMP2 output value not inverted
1: COMP2 output value inverted
Bits 14:10 Reserved, must be kept at reset value.
Bit 9 WINMODE: window mode selection
This bit is set and cleared by software. It selects the window mode of the comparators. If set,
both positive inputs of comparators are connected together.
0: COMP2 input plus is not connected to COMP1.
1: COMP2 input plus is connected to COMP1.
Bits 8:7 INPSEL[1:0]: COMP2 input plus selection
These bits are set and cleared by software.
00: PB4
01: PB1
10: PA15
11: reserved
Bits 6:4 INMSEL[2:0]: COMP2 input minus selection
These bits are set and cleared by software. They select which input is connected to the input
minus of COMP2.
000: 1/4 V
REFINT
001: 1/2 V
REFINT
000: 3/4 V
REFINT
011: V
REFINT
100: DAC channel1
101: reserved
110: PB3
111: GPIOx selected by INMESEL[1:0] bits
Bits 3:2 PWRMODE[1:0]: COMP2 power mode
These bits are set and cleared by software. They control the power and speed of COMP2.
00: High speed
01: Medium speed
10: Medium speed
11: Ultra low-power
Bit 1 Reserved, must be kept at reset value.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32WL5 Series and is the answer not in the manual?

STMicroelectronics STM32WL5 Series Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals