Intel 8XC196NT User Manual page 144

Table of Contents

Advertisement

PTS PWM Remap Mode Control Block
In PWM remap mode, the PTS uses two EPA channels to generate a pulse-width modulated (PWM)
output signal. The control block contains registers that contain the PWM on-time (PTSCONST1), the
address pointer (PTSPTR1), and a control register (PTSCON).
Unused
Unused
PTSCONST1 (HI)
PTSCONST1 (LO)
PTSPTR1 (HI)
PTSPTR1 (LO)
PTSCON
Unused
Register
Location
PTSCONST1 PTSCB + 4
PTSPTR1
PTSCB + 2
Figure 5-18. PTS Control Block – PWM Remap Mode
7
0
0
0
7
0
0
0
15
PWM Const 1 Value (high byte)
7
PWM Const 1 Value (low byte)
15
Pointer 1 Value (high byte)
7
Pointer 1 Value (low byte)
7
M2
M1
M0
7
0
0
0
PWM Const 1 Value
Write the desired PWM on-time to these bits.
Pointer 1 Value
These bits point to a memory location, usually EPA x _TIME. PTSPTR1
can point to any unreserved memory location within page 00H.
STANDARD AND PTS INTERRUPTS
0
0
0
0
0
0
0
0
0
Function
0
0
0
0
0
0
8
0
8
0
0
TMOD
TBIT
0
0
0
5-39

Advertisement

Table of Contents
loading

Table of Contents