Initializing The Pts Control Blocks - Intel 8XC196MC User Manual

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
PI_PEND (Continued)
When hardware detects a pending peripheral or timer interrupt, it sets the corresponding bit in the
interrupt pending (INT_PEND or INT_PEND1) registers and the peripheral interrupt pending
(PI_PEND) register. When the vector is taken, the hardware clears the INT_PEND/INT_PEND1
pending bit. Reading this register clears all the PI_PEND bits. Software can generate an interrupt by
setting a PI_PEND bit.
7
8XC196MC
7
8XC196MD
7
8XC196MH
Bit
Bit
Number
Mnemonic
2
OVRTM2
0
OVRTM1
Figure 5-12. Peripheral Interrupt Pending (PI_PEND) Register (Continued)
5.6

INITIALIZING THE PTS CONTROL BLOCKS

Each PTS interrupt requires a block of data, in register RAM, called the PTS control block
(PTSCB). The PTSCB identifies which PTS microcode routine will be invoked and sets up the
specific parameters for the routine. You must set up the PTSCB for each interrupt source before
enabling the corresponding PTS interrupts.
5-24
WG
COMP5
WG
SP1
SP0
Timer 2 Overflow/Underflow
When set, this bit indicates a pending timer 2 overflow/underflow interrupt.
The timer 2 and timer 1 overflow/underflow interrupts are associated with
the overflow/underflow timer interrupt (OVRTM). Setting INT_MASK.0
enables OVRTM. Setting PI_MASK.2 enables OVRTM2.
Timer 1 Overflow/Underflow
When set, this bit indicates a pending timer 1 overflow/underflow interrupt.
The timer 1 and timer 2 overflow/underflow interrupts are associated with
the overflow/underflow timer interrupt (OVRTM). Setting INT_MASK.0
enables OVRTM. Setting PI_MASK.0 enables OVRTM1.
Get other manuals https://www.bkmanuals.com
Address:
Reset State:
OVRTM2
OVRTM2
OVRTM2
Function
1FBEH
AAH
0
OVRTM1
0
OVRTM1
0
OVRTM1

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents