English
Language : 

MC9S12P128_10 Datasheet, PDF (310/566 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Analog-to-Digital Converter (ADC12B10C)
Address Name
0x0020
R
ATDDR8
W
0x0022
R
ATDDR9 W
0x0024 - Unimple- R
0x002F mented W
Bit 7
0
6
5
4
3
2
1
See Section 9.3.2.12.1, “Left Justified Result Data (DJM=0)”
and Section 9.3.2.12.2, “Right Justified Result Data (DJM=1)”
See Section 9.3.2.12.1, “Left Justified Result Data (DJM=0)”
and Section 9.3.2.12.2, “Right Justified Result Data (DJM=1)”
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 9-2. ADC12B10C Register Summary (Sheet 3 of 3)
Bit 0
0
9.3.2 Register Descriptions
This section describes in address order all the ADC12B10C registers and their individual bits.
9.3.2.1 ATD Control Register 0 (ATDCTL0)
Writes to this register will abort current conversion sequence.
Module Base + 0x0000
7
6
5
4
3
2
R
0
0
0
Reserved
WRAP3
WRAP2
W
Reset
0
0
0
0
1
1
= Unimplemented or Reserved
Figure 9-3. ATD Control Register 0 (ATDCTL0)
Read: Anytime
Write: Anytime, in special modes always write 0 to Reserved Bit 7.
Table 9-1. ATDCTL0 Field Descriptions
Field
Description
1
WRAP1
1
0
WRAP0
1
3-0
Wrap Around Channel Select Bits — These bits determine the channel for wrap around when doing multi-
WRAP[3-0] channel conversions. The coding is summarized in Table 9-2.
Table 9-2. Multi-Channel Wrap Around Coding
WRAP3 WRAP2 WRAP1 WRAP0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
Multiple Channel Conversions (MULT = 1)
Wraparound to AN0 after Converting
Reserved(1)
AN1
AN2
AN3
AN4
AN5
S12P-Family Reference Manual, Rev. 1.13
310
Freescale Semiconductor