I am a novice developer of firmware.
I am using the MC9S12G128 model that I always use, and I need a 12-bit ADC, so I am using the MC9S12ZVCA.
In MC9S12G128, ADC values were converted with ATD Conversion Result Registers, and the converted results could be saved as variables.
In MC9S12ZVCA, I would like to know which register serves to convert ADC.
I will wait for your answer.
There are no result registers in the S12ZVC ADC module.
The results are transferred to SRAM by DMA at the end of each conversion.
The ADC module only takes a pointer to a result array in SRAM.
Please refer to the S12ZVC RM rev2.1, Section 126.96.36.199.3,
Because S12ZVL and S12ZVC have the same ADC, you can use this example: