EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 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 #146 background imageLoading...
Page #146 background image
Comparators (COMP)
UM1581
146/584
DocID023800 Rev 1
Hysteresis level low
ï‚· #define: COMP_Hysteresis_Medium COMP_CSR_COMPxHYST_1
Hysteresis level medium
ï‚· #define: COMP_Hysteresis_High COMP_CSR_COMPxHYST
Hysteresis level high
COMP_InvertingInput
ï‚· #define: COMP_InvertingInput_1_4VREFINT ((uint32_t)0x00000000)
1/4 VREFINT connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_1_2VREFINT COMP_CSR_COMPxINSEL_0
1/2 VREFINT connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_3_4VREFINT COMP_CSR_COMPxINSEL_1
3/4 VREFINT connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_VREFINT ((uint32_t)0x00000030)
VREFINT connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_DAC1 COMP_CSR_COMPxINSEL_2
DAC1_OUT (PA4) connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_DAC2 ((uint32_t)0x00000050)
DAC2_OUT (PA5) connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_IO1 ((uint32_t)0x00000060)
I/O1 (PA0 for COMP1, PA2 for COMP2, PD15 for COMP3, PE8 for COMP4, PD13 for
COMP5, PD10 for COMP6, PC0 for COMP7) connected to comparator inverting input
ï‚· #define: COMP_InvertingInput_IO2 COMP_CSR_COMPxINSEL
I/O2 (PB12 for COMP3, PB2 for COMP4, PB10 for COMP5, PB15 for COMP6) connected
to comparator inverting input
COMP_Mode
ï‚· #define: COMP_Mode_HighSpeed 0x00000000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals