55 void ACMP_Open(
ACMP_T *Acmp, uint32_t u32ChNum, uint32_t u32NegSrc, uint32_t u32HysteresisEn)
102 void ACMP_SetSigmaDeltaConv(uint32_t u32TimerNum, uint32_t u32TriggerPolarity, uint32_t u32PosPin, uint32_t u32ChargePin)
142 void ACMP_SetSlopeConv(uint32_t u32TimerNum, uint32_t u32TriggerPolarity, uint32_t u32PosPin, uint32_t u32ChargePin)
void ACMP_SetSlopeConv(uint32_t u32TimerNum, uint32_t u32TriggerPolarity, uint32_t u32PosPin, uint32_t u32ChargePin)
This function configure ACMP to slope mode.
#define ACMP_MODCR0_TMR_TRI_LV_Msk
#define ACMP_MODCR0_MOD_SEL_SLOPE
The comparator mode select slope mode.
void ACMP_Close(ACMP_T *, uint32_t u32ChNum)
This function close comparator.
#define ACMP_CR_ACMPEN_Msk
#define ACMP_CR_CPP0SEL_Msk
void ACMP_Open(ACMP_T *, uint32_t u32ChNum, uint32_t u32NegSrc, uint32_t u32HysteresisEn)
This function open and configure comparator parameters.
#define ACMP_CR_CN_CRV
The internal comparator reference voltage (CRV) is selected.
Nano102/112 peripheral access layer header file. This file contains all the peripheral register's def...
#define ACMP_MODCR0_MOD_SEL_SIGAMA_DELTA
The comparator mode select sigma-delta mode.
#define ACMP_CR_ACMP0_INV_Msk
#define ACMP_RVCR_CRVS_Msk
#define ACMP_CR_ACMP_HYSEN_Msk
#define ACMP_CR_ACMP0_FILTER_Msk
#define ACMP_MODCR0_TMR_SEL_Msk
#define ACMP_MODCR0_MOD_SEL_Msk
#define ACMP_CR_ACOMP0_PN_AutoEx_Msk
#define ACMP_CR_CPO0_SEL_Msk
#define ACMP_MODCR0_CH_DIS_PIN_SEL_Msk
#define ACMP
Pointer to ACMP register structure.
#define ACMP_RVCR_CRV_EN_Msk
void ACMP_SetSigmaDeltaConv(uint32_t u32TimerNum, uint32_t u32TriggerPolarity, uint32_t u32PosPin, uint32_t u32ChargePin)
This function configure ACMP to sigma-delta mode.