思澈科技软件开发工具包  2.20

Macros

#define COMP_HYSTERESIS_NONE   (0x00000000UL)
 
#define COMP_HYSTERESIS_LOW   (0x00000001UL<<LPCOMP_CR1_HYST_Pos)
 
#define COMP_HYSTERESIS_MEDIUM   (0x00000002UL<<LPCOMP_CR1_HYST_Pos )
 
#define COMP_HYSTERESIS_HIGH   (0x00000003UL<<LPCOMP_CR1_HYST_Pos)
 

Detailed Description

Macro Definition Documentation

◆ COMP_HYSTERESIS_HIGH

#define COMP_HYSTERESIS_HIGH   (0x00000003UL<<LPCOMP_CR1_HYST_Pos)

Hysteresis level high

◆ COMP_HYSTERESIS_LOW

#define COMP_HYSTERESIS_LOW   (0x00000001UL<<LPCOMP_CR1_HYST_Pos)

Hysteresis level low

◆ COMP_HYSTERESIS_MEDIUM

#define COMP_HYSTERESIS_MEDIUM   (0x00000002UL<<LPCOMP_CR1_HYST_Pos )

Hysteresis level medium

◆ COMP_HYSTERESIS_NONE

#define COMP_HYSTERESIS_NONE   (0x00000000UL)

No hysteresis