42 uint32_t u32InputMode,
50 ADC->CHEN = u32ChMask;
147 uint32_t u32SampleTime)
void ADC_DisableInt(ADC_T *adc, uint32_t u32Mask)
Disable the interrupt(s) selected by u32Mask parameter.
#define ADC_CTL_ADCIEN_Msk
#define ADC_CMP0_ADCMPIE_Msk
void ADC_EnableTimerTrigger(ADC_T *adc, uint32_t u32Source, uint32_t u32PDMACnt)
Config and enable timer trigger.
#define ADC_CMP1_ADCMPIE_Msk
#define ADC_EXTSMPT0_EXTSMPT_CH0_Msk
#define ADC_CTL_HWTRGSEL_Msk
#define ADC_TRIGGER_BY_EXT_PIN
void ADC_Close(ADC_T *adc)
Disable ADC module.
#define ADC_CTL_TMSEL_Msk
#define ADC_EXTSMPT1_EXTSMPT_INTCH_Pos
void ADC_DisableHWTrigger(ADC_T *adc)
Disable hardware trigger ADC function.
void ADC_SetExtraSampleTime(ADC_T *adc, uint32_t u32ChNum, uint32_t u32SampleTime)
Configure the hardware trigger condition and enable hardware trigger.
#define ADC_CTL_REFSEL_Msk
void ADC_EnableInt(ADC_T *adc, uint32_t u32Mask)
Enable the interrupt(s) selected by u32Mask parameter.
void ADC_EnableHWTrigger(ADC_T *adc, uint32_t u32Source, uint32_t u32Param)
Configure the hardware trigger condition and enable hardware trigger.
#define SYS_IPRST2_ADCRST_Msk
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.
#define ADC_CTL_TMTRGMOD_Msk
#define ADC_CTL_HWTRGEN_Msk
void ADC_DisableTimerTrigger(ADC_T *adc)
Disable timer trigger ADC function.
#define ADC
Pointer to ADC register structure.
#define ADC_EXTSMPT1_EXTSMPT_INTCH_Msk
NANO103 peripheral access layer header file. This file contains all the peripheral register's definit...
#define ADC_CTL_TMSEL_Pos
#define ADC_CTL_HWTRGCOND_Msk
#define ADC_CTL_TMPDMACNT_Msk
#define SYS
Pointer to SYS register structure.
#define ADC_CTL_TMPDMACNT_Pos