Intel 8XC196K Series User Manual page 118

Table of Contents

Advertisement

PTS Single Transfer Mode Control Block (Continued)
Register
Location
PTSCON
PTSCB + 1
PTSCOUNT
PTSCB + 0
In single transfer mode, the DU and SU bits and DI and SI bits are paired. Each pair must be set or
cleared together. However, the two pairs, DU/SU and DI/SI, need not be equal.
Figure 5-12. PTS Control Block – Single Transfer Mode (Continued)
The PTSCB in Table 5-5 defines nine PTS cycles. Each cycle moves a single word from location
20H to an external memory location. The PTS transfers the first word to location 6000H. Then it
increments and updates the destination address and decrements the PTSCOUNT register; it does
not increment the source address. When the second cycle begins, the PTS moves a second word
from location 20H to location 6002H. When PTSCOUNT equals zero, the PTS will have filled
locations 6000H–600FH, and an end-of-PTS interrupt is generated.
PTS Control Bits
M2:0
PTS Mode
M2
M1
M0
1
0
0
BW
Byte/Word Transfer
0 = word transfer
1 = byte transfer
SU
Update PTSSRC
0 = reload original PTS source address after each byte or word
transfer
1 = retain current PTS source address after each byte or word
transfer
DU
Update PTSDST
0 = reload original PTS destination address after each byte or
word transfer
1 = retain current PTS destination address after each byte or
word transfer
SI
PTSSRC Autoincrement
0 = do not increment the contents of PTSSRC
1 = increment the contents of PTSSRC after each byte or word
transfer
DI
PTSDST Autoincrement
0 = do not increment the contents of PTSDST
1 = increment the contents of PTSDST after each byte or word
transfer
Consecutive Word or Byte Transfers
Defines the number of words or bytes that will be transferred during the
single transfer routine. Each word or byte transfer is one PTS cycle.
Maximum value is 255.
STANDARD AND PTS INTERRUPTS
Function
single transfer mode
5-23

Advertisement

Table of Contents
loading

Table of Contents