MPC555
/
MPC556
QUEUED ANALOG-TO-DIGITAL CONVERTER MODULE-64
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
13-41
The four flag bits and the two trigger overrun bits are cleared by writing a zero to the
bit after the bit was previously read as a one.
QASR0 —
QADC64
Status Register
0x30
4810
0x30 4C10
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
CF1
PF1
CF2
PF2
TOR1
TOR2
QS
CWP
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 13-16 QASR0 Bit Descriptions
Bit(s)
Name
Description
0
CF1
Queue 1 completion flag. CF1 indicates that a queue 1 scan has been completed. CF1 is set by
the QADC64 when the conversion is complete for the last CCW in queue 1, and the result is
stored in the result table.
0 = Queue 1 scan is not complete
1 = Queue 1 scan is complete
1
PF1
Queue 1 pause flag. PF1 indicates that a queue 1 scan has reached a pause. PF1 is set by the
QADC64 when the current queue 1 CCW has the pause bit set, the selected input channel has
been converted, and the result has been stored in the result table.
0 = Queue 1 has not reached a pause
1 = Queue 1 has reached a pause
2
CF2
Queue 2 completion flag. CF2 indicates that a queue 2 scan has been completed. CF2 is set by
the QADC64 when the conversion is complete for the last CCW in queue 2, and the result is
stored in the result table.
0 = Queue 2 scan is not complete
1 = Queue 2 scan is complete
3
PF2
Queue 2 pause flag. PF2 indicates that a queue 2 scan has reached a pause. PF2 is set by the
QADC64 when the current queue 2 CCW has the pause bit set, the selected input channel has
been converted, and the result has been stored in the result table.
0 = Queue 2 has not reached a pause
1 = Queue 2 has reached a pause
4
TOR1
— Queue 1 trigger overrun. TOR1 indicates that an unexpected queue 1 trigger event has oc-
curred. TOR1 can be set only while queue 1 is active.
A trigger event generated by a transition on ETRIG1/ETRIG2 may be recorded as a trigger over-
run. TOR1 can only be set when using an external trigger mode. TOR1 cannot occur when the
software initiated single-scan mode or the software initiated continuous-scan mode is selected.
0 = No unexpected queue 1 trigger events have occurred
1 = At least one unexpected queue 1 trigger event has occurred
5
TOR2
Queue 2 trigger overrun. TOR2 indicates that an unexpected queue 2 trigger event has occurred.
TOR2 can be set when queue 2 is in the active, suspended, and trigger pending states.
A trigger event generated by a transition depending on the value of TRG in QACR or ETRIG1/
ETRIG2 or by the periodic/interval timer may be recorded as a trigger overrun. TOR2 can only
be set when using an external trigger mode or a periodic/interval timer mode. Trigger overruns
cannot occur when the software initiated single-scan mode and the software initiated continuous-
scan mode are selected.
0 = No unexpected queue 2 trigger events have occurred
1 = At least one unexpected queue 2 trigger event has occurred
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..