Intel 8XC196MC User Manual page 120

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 (PTSPTR1) and a table of A/D conversion commands and results (PTSPTR2), a control
register (PTSCON), and an 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-18. 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 select 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
Get other manuals https://www.bkmanuals.com
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-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents