|
|
|
@ -98,16 +98,9 @@ static const timer_conf_t timer_config[] = {
|
|
|
|
|
* @name ADC configuration
|
|
|
|
|
* @{
|
|
|
|
|
*/
|
|
|
|
|
#define ADC_NUMOF (1U)
|
|
|
|
|
#define ADC_0_EN 1
|
|
|
|
|
#define ADC_MAX_CHANNELS 4
|
|
|
|
|
|
|
|
|
|
/* ADC 0 device configuration */
|
|
|
|
|
#define ADC_0_CHANNELS 4
|
|
|
|
|
#define ADC_0_CH0 ADC_CONFIG_PSEL_AnalogInput3
|
|
|
|
|
#define ADC_0_CH1 ADC_CONFIG_PSEL_AnalogInput4
|
|
|
|
|
#define ADC_0_CH2 ADC_CONFIG_PSEL_AnalogInput5
|
|
|
|
|
#define ADC_0_CH3 ADC_CONFIG_PSEL_AnalogInput6
|
|
|
|
|
static const uint8_t adc_config[] = {3, 4, 5, 6};
|
|
|
|
|
|
|
|
|
|
#define ADC_NUMOF (sizeof(adc_config) / sizeof(adc_config[0]))
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|