Chapter 8 Analog-to-Digital Converter (ATD10B8CV3)
MC9S12XDP512 Data Sheet, Rev. 2.11
354 Freescale Semiconductor
8.3.2.1 ATD Control Register 0 (ATDCTL0)
Writes to this register will abort current conversion sequence but will not start a new sequence.
Read: Anytime
Write: Anytime
0x001D
ATDDR6L
10-BIT BIT 7
BIT 7 MSB
BIT 6
BIT 6
BIT 5
BIT 5
BIT 4
BIT 4
BIT 3
BIT 3
BIT 2
BIT 2
BIT 1
BIT 1
BIT 0
BIT 0
8-BIT
W
0x001E
ATDD47H
10-BIT 0
0
0
0
0
0
0
0
0
0
0
0
BIT 9 MSB
0
BIT 8
0
8-BIT
W
0x001F
ATDD47L
10-BIT BIT 7
BIT 7 MSB
BIT 6
BIT 6
BIT 5
BIT 5
BIT 4
BIT 4
BIT 3
BIT 3
BIT 2
BIT 2
BIT 1
BIT 1
BIT 0
BIT 0
8-BIT
Module Base + 0x0000
76543210
R00000
WRAP2 WRAP1 WRAP0
W
Reset 00000111
= Unimplemented or Reserved

Figure 8-3. ATD Control Register 0 (ATDCTL0)

Table 8-1. ATDCTL0 Field Descriptions

Field Description
2–0
WRAP[2:0]
Wrap Around Channel Select Bits — These bits determine the channel for wrap around when doing
multi-channel conversions. The coding is summarized in Table 8-2.

Table 8-2. Multi-Channel Wrap Around Coding

WRAP2 WRAP1 WRAP0 Multiple Channel Conversions (MULT = 1)
Wrap Around to AN0 after Converting
0 0 0 Reserved
0 0 1 AN1
0 1 0 AN2
0 1 1 AN3
1 0 0 AN4
1 0 1 AN5
Register
Name Bit 7 654321Bit 0
= Unimplemented or Reserved

Figure 8-2. ATD Register Summary (Sheet 5 of 5)