8XC196MC, MD, MH USER’S MANUAL

PTS Block Transfer Mode Control Block (Continued)

Register

Location

 

 

 

 

Function

 

 

 

 

 

PTSCON

PTSCB + 1 PTS Control Bits

 

 

 

 

 

 

 

 

 

 

M2:0

PTS Mode

 

 

 

 

 

These bits select the PTS mode:

 

 

 

M2

M1

M0

 

 

 

 

0

 

0

0

block 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.

Figure 5-17. PTS Control Block — Block Transfer Mode (Continued)

5.6.5A/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.

5-32

Page 119
Image 119
Intel 8XC196MC, 8XC196MD, 8XC196MH manual 5 A/D Scan Mode