STANDARD AND PTS INTERRUPTS

When you assign an interrupt to the PTS, you must set up a PTS control block (PTSCB) for each interrupt source (see “Initializing the PTS Control Blocks” on page 5-24) and use the EPTS in- struction to globally enable the PTS. When you assign an interrupt to a standard software service routine, use the EI (enable interrupts) instruction to globally enable interrupt servicing.

NOTE

The DI (disable interrupts) instruction does not disable PTS service. However, it does disable service for the end-of-PTS interrupt request. If an interrupt request occurs while interrupts are disabled, the corresponding pending bit is set in the INT_PEND or INT_PEND1 register.

PTS service is not useful for multiplexed interrupts because the PTS cannot readily determine the source of these interrupts.

5-13

Page 100
Image 100
Intel 8XC196MH, 8XC196MD, 8XC196MC manual Standard and PTS Interrupts