Table of Contents

Advertisement

8XC196NT USER'S MANUAL
PTS Block Transfer Mode Control Block (Continued)
Register
Location
PTSCON
PTSCB + 1
PTSCOUNT
PTSCB + 0
Figure 5-13. PTS Control Block – Block Transfer Mode (Continued)
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-14 shows the PTS con-
trol block for A/D scan mode.
5-26
PTS Control Bits
M2:0
PTS Mode
These bits select the PTS mode:
M2
M1
M0
0
0
0
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
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.
Function
block transfer mode

Advertisement

Table of Contents
loading

Table of Contents