8XC196MC, MD, MH USER’S MANUAL
5-32
5.6.5 A/D Scan Mode
In the A/D scan mode, the PTS causes the A/D converter to perform multiple conversions on one
or more channels and then stores the results in a table in memory. Figure 5-19 shows the PTS con-
trol block for A/D scan mode.
Register Location Function
PTSCON PTSCB + 1 PTS Control Bits
M2:0 PTS Mode
These bits select the PTS mode:
M2 M1 M0
000block transfer mode
BW Byte/Word Transfer
0 = word transfer
1 = byte transfer
SU Update PTSSRC
0 = reload original PTS source address after each block
transfer is complete
1 = retain current PTS source address after each block transfer
is complete
DU Update PTSDST
0 = reload original PTS destination address after each block
transfer is complete
1 = retain current PTS destination address after each block
transfer is complete
SI PTSSRC Autoincrement
0 = do not increment the contents of PTSSRC after each byte
or word transfer
1 = increment the contents of PTSSRC after each byte or word
transfer
DI PTSDST Autoincrement
0 = do not increment the contents of PTSDST after each byte
or word transfer
1 = increment the contents of PTSDST after each byte or word
transfer
PTSCOUNT PTSCB + 0 Consecutive Block Transfers
Defines the number of blocks that will be transferred during the block
transfer routine. Each block transfer is one PTS cycle. Maximum number
is 255.
PTS Block Transfer Mode Control Block (Continued)
Figure 5-17. PTS Control Block — Block Transfer Mode (Continued)