English
Language : 

S912XHY128F0VLM Datasheet, PDF (322/802 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Analog-to-Digital Converter (ADC12B12CV1) Block Description
10.3.2 Register Descriptions
This section describes in address order all the ADC12B12C registers and their individual bits.
10.3.2.1 ATD Control Register 0 (ATDCTL0)
Writes to this register will abort current conversion sequence.
Module Base + 0x0000
7
6
5
4
R
0
0
0
Reserved
W
Reset
0
0
0
0
= Unimplemented or Reserved
3
WRAP3
1
2
WRAP2
1
Read: Anytime
Figure 10-3. ATD Control Register 0 (ATDCTL0)
Write: Anytime, in special modes always write 0 to Reserved Bit 7.
Table 10-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
WRAP[3-0] multi-channel conversions. The coding is summarized in Table 10-2.
Table 10-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
0
1
1
0
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
Multiple Channel Conversions (MULT = 1)
Wraparound to AN0 after Converting
Reserved1
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
AN10
AN11
AN11
AN11
AN11
AN11
MC9S12XHY-Family Reference Manual, Rev. 1.01
322
Freescale Semiconductor