56 uint32_t u32InputMode,
61 ADC->CTL |= u32InputMode;
62 ADC->CTL |= u32OpMode;
75 SYS->IPRST1 &= ~SYS_IPRST1_ADCRST_Msk;
163 ADC->CTL &= ~ADC_CTL_ADCIEN_Msk;
165 ADC->CMP[0] &= ~ADC_CMP0_ADCMPIE_Msk;
167 ADC->CMP[1] &= ~ADC_CMP1_ADCMPIE_Msk;
NUC472/NUC442 peripheral access layer header file. This file contains all the peripheral register's d...
#define SYS_IPRST1_ADCRST_Msk
#define ADC_TRIGGER_BY_PWM
#define ADC_TRIGGER_BY_EXT_PIN
#define ADC_RISING_EDGE_TRIGGER
void ADC_EnableHWTrigger(ADC_T *adc, uint32_t u32Source, uint32_t u32Param)
Configure the hardware trigger condition and enable hardware trigger.
void ADC_Close(ADC_T *adc)
Disable ADC module.
void ADC_Open(ADC_T *adc, uint32_t u32InputMode, uint32_t u32OpMode, uint32_t u32ChMask)
This API configures ADC module to be ready for convert the input from selected channel.
void ADC_DisableInt(ADC_T *adc, uint32_t u32Mask)
Disable the interrupt(s) selected by u32Mask parameter.
void ADC_DisableHWTrigger(ADC_T *adc)
Disable hardware trigger ADC function.
void ADC_EnableInt(ADC_T *adc, uint32_t u32Mask)
Enable the interrupt(s) selected by u32Mask parameter.
#define ADC_CTL_HWTRGSEL_Msk
#define ADC_CHEN_ADBGEN_Msk
#define ADC_CMP1_ADCMPIE_Msk
#define ADC_CMP0_ADCMPIE_Msk
#define ADC_CTL_PWMTRGDLY_Msk
#define ADC_CTL_PWMTRGDLY_Pos
#define ADC_CHEN_ADTSEN_Msk
#define ADC_CHEN_CHEN_Msk
#define ADC_CTL_HWTRGEN_Msk
#define ADC_CTL_ADCIEN_Msk
#define ADC_CTL_HWTRGCOND_Msk