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