Chapter 7 Analog-to-Digital Converter (ATD10B16CV4)
MC9S12XDP512 Data Sheet, Rev. 2.11
322 Freescale Semiconductor
7.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
0x000D
ATDDIEN1
RIEN7 IEN6 IEN5 IEN4 IEN3 IEN2 IEN1 IEN0
W
0x000E
PORTAD0
R PTAD15 PTAD14 PTAD13 PTAD12 PTAD11 PTAD10 PTAD9 PTAD8
W
0x000F
PORTAD1
R PTAD7 PTAD6 PTAD5 PTAD4 PTAD3 PTAD2 PTAD1 PTAD0
W
R BIT 9 MSB
BIT 7 MSB
BIT 8
BIT 6
BIT 7
BIT 5
BIT 6
BIT 4
BIT 5
BIT 3
BIT 4
BIT 2
BIT 3
BIT 1
BIT 2
BIT 0
0x0010–0x002F
ATDDRxH–
ATDDRxL
W
R BIT 1
u
BIT 0
u
0
0
0
0
0
0
0
0
0
0
0
0
W
Module Base + 0x0000
76543210
R0000
WRAP3 WRAP2 WRAP1 WRAP0
W
Reset 00001111
= Unimplemented or Reserved

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

Table 7-2. ATDCTL0 Field Descriptions

Field Description
3:0
WRAP[3: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 7-3.
Register
Name Bit 7 6 5 4321Bit 0
= Unimplemented or Reserved u = Unaffected

Figure 7-2. ATD Register Summary (continued)