AnsweredAssumed Answered

Specifying channel numbers in software functions

Question asked by EckartH on Aug 3, 2012
Latest reply on Sep 13, 2012 by EckartH

In the functions provided for ADuCMxxx and ADuCRFxxx parts the channel numbers are in the following form:

int AdcGo(ADI_ADC_TypeDef *pPort, int iStart)

Here the channel number is given as a pointer "ADI_ADC_TypeDef *pPort" with options of pADI_ADC0 and pADI_ADC1.  Why not just use numbers 0 and 1?  Also where are these items defined?