Initializing The Pts Control Blocks - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
INT_PEND1
When hardware detects a pending interrupt, it sets the corresponding bit in the interrupt pending
(INT_PEND or INT_PEND1) registers. When the vector is taken, the hardware clears the pending bit.
Software can generate an interrupt by setting the corresponding interrupt pending bit.
7
87C196CA
NMI
7
8XC196J x
7
8XC196K x
NMI
Bit
Number
7:0
When set, this bit indicates that the corresponding interrupt is pending. The interrupt bit is
cleared when processing transfers to the corresponding interrupt vector.
The standard interrupt vector locations are as follows:
Bit Mnemonic Interrupt
NMI
EXTINT
CAN (CA)
RI
TI
SSIO1
SSIO0
CBF (K x )
††
All CAN-controller interrupts are multiplexed into the single CAN interrupt input
(INT13). The interrupt service routine associated with INT13 must read the CAN interrupt
pending register (CAN_INT) to determine the source of the interrupt request.
Bit 7 is reserved on the 8XC196J x devices, bit 5 is reserved on the 8XC196J x , K x devices, and bit 0
is reserved on the 87C196CA, 8XC196J x devices. For compatibility with future devices, always write
zeros to these bits.
Figure 5-8. Interrupt Pending 1 (INT_PEND1) Register
5.6

INITIALIZING THE PTS CONTROL BLOCKS

Each PTS interrupt requires a block of data 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 correspond-
ing PTS interrupts.
5-18
EXTINT
CAN
EXTINT
EXTINT
Nonmaskable Interrupt
EXTINT Pin
††
CAN Peripheral
SIO Receive
SIO Transmit
SSIO 1 Transfer
SSIO 0 Transfer
Slave Port Command Buffer Full
Reset State:
RI
TI
SSIO1
RI
I
TI
SSIO1
RI
I
TI
SSIO1
Function
Standard Vector
203EH
203CH
203AH
2038H
2036H
2034H
2032H
2030H
Address:
12H
00H
8
SSIO0
0
SSIO0
0
SSIO0
CBF

Advertisement

Table of Contents
loading

Table of Contents