Intel 8XC196MC Benutzerhandbuch

Seite von 579
8XC196MC, MD, MH USER’S MANUAL
5-36
version. Step 4 updates PTSPTR1 (PTSPTR1 now points to 3004H) and step 5 decrements
PTSCOUNT to 3. The next cycle begins by storing the channel 5 command in the temporary lo-
cation. During the last cycle (PTSCOUNT = 1), the dummy command is loaded into the
AD_COMMAND register and no conversion is performed. PTSCOUNT is decremented to zero
and the end-of-PTS interrupt is requested.
Table 5-8.  Command/Data Table (Example 1)
Address
Contents
300EH
AD_RESULT for ACH4
300CH
Unused
0000H (Dummy command)
300AH
AD_RESULT for ACH5
3008H
Unused
AD_COMMAND for ACH4
3006H
AD_RESULT for ACH6
3004H
Unused
AD_COMMAND for ACH5
3002H
AD_RESULT for ACH7
3000H
Unused
AD_COMMAND for ACH6
Table 5-9.  A/D Scan Mode PTSCB (Example 1)
Unused
Unused
PTSPTR2 (H) = 1FH
PTSPTR2 (L) = AAH
PTSPTR1 (H) = 30H
PTSPTR1 (L) = 00H
PTSCON = CBH (Mode = 110, UPDT = 1)
PTSCOUNT = 04H