思澈科技软件开发工具包  2.20
COMP internal voltage reference

Macros

#define COMP_VREFINT_0D6V   (0x00000000UL)
 
#define COMP_VREFINT_1D2V   (0x00000001UL<<LPCOMP_CR1_VREFINT_Pos)
 
#define COMP_VREFINT_1D8V   (0x00000002UL<<LPCOMP_CR1_VREFINT_Pos)
 
#define COMP_VREFINT_2D4V   (0x00000003UL<<LPCOMP_CR1_VREFINT_Pos)
 

Detailed Description

Macro Definition Documentation

◆ COMP_VREFINT_0D6V

#define COMP_VREFINT_0D6V   (0x00000000UL)

Comparator internal voltage reference to 0.6v

◆ COMP_VREFINT_1D2V

#define COMP_VREFINT_1D2V   (0x00000001UL<<LPCOMP_CR1_VREFINT_Pos)

Comparator internal voltage reference to 1.2v

◆ COMP_VREFINT_1D8V

#define COMP_VREFINT_1D8V   (0x00000002UL<<LPCOMP_CR1_VREFINT_Pos)

Comparator internal voltage reference to 1.8v

◆ COMP_VREFINT_2D4V

#define COMP_VREFINT_2D4V   (0x00000003UL<<LPCOMP_CR1_VREFINT_Pos)

Comparator internal voltage reference to 2.4v