5 Comparators (COMP)
5.1 COMP Firmware driver registers structures
5.1.1 COMP_TypeDef
COMP_TypeDef is defined in the stm32f30x.h
Data Fields
__IO uint32_t CSR
Field Documentation
__IO uint32_t COMP_TypeDef::CSR
Comparator control Status register, Address offset: 0x00
5.1.2 COMP_InitTypeDef
COMP_InitTypeDef is defined in the stm32f30x_comp.h
Data Fields
uint32_t COMP_InvertingInput
uint32_t COMP_NonInvertingInput
uint32_t COMP_Output
uint32_t COMP_BlankingSrce
uint32_t COMP_OutputPol
uint32_t COMP_Hysteresis
uint32_t COMP_Mode
Field Documentation
uint32_t COMP_InitTypeDef::COMP_InvertingInput
Selects the inverting input of the comparator. This parameter can be a value of
COMP_InvertingInput
uint32_t COMP_InitTypeDef::COMP_NonInvertingInput
Selects the non inverting input of the comparator. This parameter can be a value
of COMP_NonInvertingInput
uint32_t COMP_InitTypeDef::COMP_Output
Selects the output redirection of the comparator. This parameter can be a value
of COMP_Output
uint32_t COMP_InitTypeDef::COMP_BlankingSrce
Selects the output blanking source of the comparator. This parameter can be a
value of COMP_BlankingSrce
uint32_t COMP_InitTypeDef::COMP_OutputPol