I use CodeWarrior 11.1. I am a bit confused about the PE setting of IO_MAP.h of ADC channel.
The IO_Map.h show the ADCH0 is 0x01U, ADCH1 is 0x02U and so forth.
But the MC9S08PA4 Reference Manual, Rev. 6, show the AD0 of ADCH is 0, AD1 of ADCH is 1 and so forth.
if I want to get ADC value of AD0, how can I get it?
Is it use below
ADC_SC1 = ADC_SC1_ADCH0_MASK;