Datasheet
Analog-to-Digital Converter (ATD)
MC68HC812A4 Data Sheet, Rev. 7
198 Freescale Semiconductor
16.5 Functional Description
A single conversion sequence consists of four or eight conversions, depending on the state of the select
8-channel mode bit, S8CM, in ATD control register 5 (ATDCTL5). There are eight basic conversion
modes.
In the non-scan modes, the sequence complete flag, SCF, is set after the sequence of four or eight
conversions has been performed and the ATD module halts.
In the scan modes, the SCF flag is set after the first sequence of four or eight conversions has been
performed, and the ATD module continues to restart the sequence.
$006F
Port AD Data Input
Register (PORTAD)
See page 207.
Read: PAD7 PAD6 PAD5 PAD4 PAD3 PAD2 PAD1 PAD0
Write:
Reset:00000000
$0070
ATD Result Register 0
(ADR0H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$0072
ATD Result Register 1
(ADR1H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$0074
ATD Result Register 2
(ADR2H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$0076
ATD Result Register 3
(ADR3H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$0078
ATD Result Register 4
(ADR4H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$007A
ATD Result Register 5
(ADR5H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$007C
ATD Result Register 6
(ADR6H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
$007E
ATD Result Register 7
(ADR7H)
See page 206.
Read: ADRxH7 ADRxH6 ADRxH5 ADRxH4 ADRxH3 ADRxH2 ADRxH1 ADRxH0
Write:
Reset: Indeterminate
Addr.Register Name Bit 7654321Bit 0
= Unimplemented
Figure 16-2. ATD I/O Register Summary (Continued)
