Comparators (COMP)
COMP output connected to TIM4 Input Capture 4
#define: COMP_Output_TIM2IC3 ((uint32_t)0x00002000)
COMP output connected to TIM2 Input Capture 3
#define: COMP_Output_TIM1IC2 ((uint32_t)0x00002400)
COMP output connected to TIM1 Input Capture 2
#define: COMP_Output_TIM17OCREFCLR ((uint32_t)0x00002800)
COMP output connected to TIM16 OCREF Clear
#define: COMP_Output_TIM17BKIN ((uint32_t)0x00002C00)
COMP output connected to TIM16 Break Input (BKIN)
COMP_OutputLevel
#define: COMP_OutputLevel_High COMP_CSR_COMPxOUT
#define: COMP_OutputLevel_Low ((uint32_t)0x00000000)
COMP_OutputPoloarity
#define: COMP_OutputPol_NonInverted ((uint32_t)0x00000000)
COMP output on GPIO isn't inverted
#define: COMP_OutputPol_Inverted COMP_CSR_COMPxPOL
COMP output on GPIO is inverted
COMP_Selection
#define: COMP_Selection_COMP1 ((uint32_t)0x00000000)
COMP1 Selection
#define: COMP_Selection_COMP2 ((uint32_t)0x00000004)
COMP2 Selection
#define: COMP_Selection_COMP3 ((uint32_t)0x00000008)
150/584
DocID023800 Rev 1
UM1581
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?