Intel Microcontroller, 80C196NU, 8XC196NP manual INTPEND1

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 419
Image 419

8XC196NP, 80C196NU USER’S MANUAL

INT_PEND1

INT_PEND1

Address:

0012H

 

Reset State:

00H

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

NMI

EXTINT3

EXTINT2

OVR2_3

 

 

 

 

0

OVR0_1

EPA3

EPA2

EPA1

 

 

 

 

 

Bit

 

Function

 

 

 

Number

 

 

 

 

 

 

 

 

 

 

 

 

 

7:0

Any set 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

Standard Vector

 

 

 

NMI

Nonmaskable Interrupt

FF203EH

 

 

 

EXTINT3

EXTINT3 pin

FF203CH

 

 

 

EXTINT2

EXTINT2 pin

FF203AH

 

 

 

OVR2_3

EPA Capture Channel 2 or 3 Overrun

FF2038H

 

 

 

OVR0_1

EPA Capture Channel 0 or 1 Overrun

FF2036H

 

 

 

EPA3

EPA Capture/Compare Channel 3

FF2034H

 

 

 

EPA2

EPA Capture/Compare Channel 2

FF2032H

 

 

 

EPA1

EPA Capture/Compare Channel 1

FF2030H

 

 

 

An overrun on the EPA capture/compare channels can generate the multiplexed

 

 

 

capture overrun interrupts. The EPA_MASK and EPA_PEND registers decode these

 

 

 

multiplexed interrupts. Write to EPA_MASK to enable the interrupt sources; read

 

 

 

EPA_PEND to determine which source caused the interrupt.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C-28

Page 419
Image 419
Intel Microcontroller, 80C196NU, 8XC196NP manual INTPEND1