Intel 8XC196K Series User Manual page 122

Table of Contents

Advertisement

PTS A/D Scan Mode Control Block
In 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. The control block contains pointers to both the AD_RESULT
register and a table of A/D conversion commands and results (PTSPTR1 and PTSPTR2), a control
register (PTSCON), and a A/D conversion count (PTSCOUNT).
Unused
Unused
PTSPTR2 (H)
PTSPTR2 (L)
PTSPTR1 (H)
PTSPTR1 (L)
PTSCON
PTSCOUNT
Register
Location
PTSPTR2
PTSCB + 4
PTSPTR1
PTSCB + 2
PTSCON
PTSCB + 1
Figure 5-14. PTS Control Block – A/D Scan Mode
7
0
0
0
7
0
0
0
15
Pointer 2 Value (high byte)
7
15
Pointer 1 Value (high byte)
7
7
M2
M1
M0
7
Consecutive A/D Conversions
Pointer 2 Value
This register contains the address of the A/D result register
(AD_RESULT).
Pointer 1 Value
This register contains the address of the table of A/D conversion
commands and results.
PTS Control Bits
M2:0
PTS Mode
These bits specify the PTS mode:
M2
M1
1
1
UPDT Update
0 = reload original PTSPTR1 value after each A/D scan
1 = retain current PTSPTR1 value after each A/D scan
STANDARD AND PTS INTERRUPTS
0
0
0
0
Pointer 2 Value (low byte)
Pointer 1 Value (low byte)
0
UPDT
Function
M0
0
A/D Scan Mode
0
0
0
0
0
0
0
0
8
0
8
0
0
0
1
0
0
5-27

Advertisement

Table of Contents
loading

Table of Contents