8#ifndef DRV_CUSTOM_CONFIG_ADC_H
9#define DRV_CUSTOM_CONFIG_ADC_H
20#define ADC_CHANNEL_VSEC (2)
21#define ADC_CHANNEL_IPRI_CT (7)
22#define ADC_CHANNEL_VPRI (10)
23#define ADC_CHANNEL_TEMP (14)
24#define ADC_CHANNEL_VRAIL_5V (19)
27#define ADC_CHANNEL_ISEC_CT (0)
28#define ADC_CHANNEL_ISEC_AVG (1)
This is the generated driver header file for the ADC1 driver.
Contains public functions and defines for the MCC code extension for ADC.
static void ADC_Filter_Input(uint16_t filterIndex, uint16_t channelIndex)
Sets the ADC instance to be filtered.
#define ADC_CHANNEL_VSEC
ADC2 is routed to Secondary Voltage.
static void ADC_Filter_Mode(uint16_t filterIndex, ADC_FILTER_MODE_t mode)
Sets the ADC instance filter mode.
static void ADC_Filter_Enable(uint16_t filterIndex, bool enable)
Enables the ADC filter feature of the ADC.
static void ADC_Filter_Averaging(uint16_t filterIndex, ADC_FILTER_OVRSAM_AVG_t averagingRatio)
Sets the ADC instance number of samples to average.
static __inline__ void DRV_Config_Custom_ADC(void)
Customize configuration for ADC.
#define ADC_CHANNEL_VPRI
ADC10 is routed to Primary Voltage.
@ ADC_FILTER_MODE_AVERAGING
@ ADC_FILTER_OVRSAM_AVG_4x