English
Language : 

MC9S12HY64 Datasheet, PDF (302/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Analog-to-Digital Converter (ADC12B8CV1) Block Description
Table 8-21 shows how depending on the A/D resolution the conversion result is transferred to the ATD
result registers. Compare is always done using all 12 bits of both the conversion result and the compare
value in ATDDRn.
Table 8-21. Conversion result mapping to ATDDRn
A/D
resolution
DJM
conversion result mapping to
ATDDRn
8-bit data 0 Bit[11:4] = result, Bit[3:0]=0000
8-bit data 1 Bit[7:0] = result, Bit[11:8]=0000
10-bit data 0 Bit[11:2] = result, Bit[1:0]=00
10-bit data 1 Bit[9:0] = result, Bit[11:10]=00
12-bit data X Bit[11:0] = result
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
302
Freescale Semiconductor