English
Language : 

MC912D60ACPVE8 Datasheet, PDF (372/460 Pages) Freescale Semiconductor, Inc – MC68HC912D60A MC68HC912D60C MC68HC912D60P Technical Data
Analog-to-Digital Converter
18.9.5 ATDSTAT A/D Status Register
The ATD Status registers contain the conversion complete flags and the
conversion sequence counter. The status registers are read-only.
ATD0STAT0/ATD1STAT0 — ATD Status Register
Bit 7
6
5
4
SCF
0
0
0
RESET:
0
0
0
0
$0066/$01E6
3
2
1
Bit 0
0
CC2
CC1
CC0
0
0
0
0
ATD0STAT1/ATD1STAT1 — ATD Status Register
RESET:
Bit 7
CCF7
0
6
CCF6
0
5
CCF5
0
4
CCF4
0
3
CCF3
0
2
CCF2
0
1
CCF1
0
$0067/$01E7
Bit 0
CCF0
0
SCF — Sequence Complete Flag
This flag is set upon completion of a conversion sequence. If
conversion sequences are continuously performed (SCAN=1), the
flag is set after each one is completed. How this flag is cleared
depends on the setting of the fast flag clear bit. When AFFC=0, SCF
is cleared when a new conversion sequence is initiated (write to
register ATDCTL4/5). When AFFC=1, SCF is cleared after reading
the first (any) result register.
CC[2:0] — Conversion Counter
This 3-bit value represents the contents of the result register counter;
the result register counter points to the result register that will receive
the result of the current conversion. If not in FIFO mode, the register
counter is initialized to zero when a new conversion sequence is
begun.
If in FIFO mode, the register counter is not initialized. The result
register count wraps around when its maximum value is reached.
CCF[7:0] — Conversion Complete Flags
A conversion complete flag is set at the end of each conversion in a
conversion sequence. The flags are associated with the conversion
position in a sequence and the result register number. Therefore,
CCF0 is set when the first conversion in a sequence is complete and
Technical Data
372
Analog-to-Digital Converter
MC68HC912D60A — Rev. 3.1
Freescale Semiconductor