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 #628 background imageLoading...
Page #628 background image
Comparator (COMP) RM0453
628/1450 RM0453 Rev 5
Bits 20:18 BLANKING[2:0]: COMP1 blanking source selection
These bits select which timer output controls the COMP1 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]: COMP1 hysteresis selection
These bits are set and cleared by software. They select the COMP1 hysteresis voltage.
00: No hysteresis
01: Low hysteresis
10: Medium hysteresis
11: High hysteresis
Bit 15 POLARITY: COMP1 polarity selection
This bit is set and cleared by software. It inverts COMP1 polarity.
0: COMP1 output value not inverted
1: COMP1 output value inverted
Bits 14:9 Reserved, must be kept at reset value.
Bits 8:7 INPSEL[1:0]: COMP1 input plus selection
These bits are set and cleared by software.
00: PB4
01: PB2
10: reserved
11: reserved
Bits 6:4 INMSEL[2:0]: COMP1 input minus selection
These bits are set and cleared by software. They select which input is connected to the input
minus of COMP1.
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]: COMP1 power mode
These bits are set and cleared by software. They control the power and speed of COMP1.
00: High speed
01: Medium speed
10: Medium speed
11: Ultra low-power
Bit 1 Reserved, must be kept at reset value.
Bit 0 EN: COMP1 enable
This bit is set and cleared by software. It switches COMP1 on.
0: COMP1 switched off
1: COMP1 switched on

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