Intel Microcontroller, 80C196NU, 8XC196NP manual Interrupt Signals and Registers

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 110
Image 110

STANDARD AND PTS INTERRUPTS

Figure 6-1 illustrates the interrupt processing flow. In this flow diagram, “INT_MASK” repre- sents both the INT_MASK and INT_MASK1 registers, and “INT_PEND” represents both the INT_PEND and INT_PEND1 registers.

6.2INTERRUPT SIGNALS AND REGISTERS

Table 6-1 describes the external interrupt signals and Table 6-2 describes the control and status registers for both the interrupt controller and PTS.

Table 6-1. Interrupt Signals

Port Pin

Interrupt Signal

Type

Description

 

 

 

 

P2.2

EXTINT0

I

External Interrupts

P2.4

EXTINT1

 

In normal operating mode, a rising edge on EXTINTx sets the

P3.6

EXTINT2

 

 

EXTINTx interrupt pending bit. EXTINTx is sampled during

P3.7

EXTINT3

 

 

phase 2 (CLKOUT high). The minimum high time is one state

 

 

 

 

 

 

time.

 

 

 

In standby and powerdown modes, asserting the EXTINTx

 

 

 

signal for at least 50 ns causes the device to resume normal

 

 

 

operation. The interrupt need not be enabled, but the pin

 

 

 

must be configured as a special-function input (see “Bidirec-

 

 

 

tional Port Pin Configurations” on page 7-7). If the EXTINTx

 

 

 

interrupt is enabled, the CPU executes the interrupt service

 

 

 

routine. Otherwise, the CPU executes the instruction that

 

 

 

immediately follows the command that invoked the power-

 

 

 

saving mode.

 

 

 

In idle mode, asserting any enabled interrupt causes the

 

 

 

device to resume normal operation.

NMI

I

Nonmaskable Interrupt

 

 

 

In normal operating mode, a rising edge on NMI generates a

 

 

 

nonmaskable interrupt. NMI has the highest priority of all

 

 

 

prioritized interrupts. Assert NMI for greater than one state

 

 

 

time to guarantee that it is recognized.

Table 6-2. Interrupt and PTS Control and Status Registers

Mnemonic

Address

Description

 

 

 

EPA_MASK

1FA0H, 1FA1H

EPA Interrupt Mask Register

 

 

This register enables/disables the four capture overrun interrupts

 

 

(OVR0-3).

 

 

 

EPA_PEND

1FA2H, 1FA3H

EPA Interrupt Pending Register

 

 

The bits in this register are set by hardware to indicate that a

 

 

capture overrun has occurred.

 

 

 

INT_MASK

0008H

Interrupt Mask Registers

INT_MASK1

0013H

These registers enable/disable each maskable interrupt (that is,

 

 

each interrupt except unimplemented opcode, software trap, and

 

 

NMI).

 

 

 

6-3

Page 110
Image 110
Intel Microcontroller, 80C196NU, 8XC196NP Interrupt Signals and Registers, Interrupt and PTS Control and Status Registers

Microcontroller, 80C196NU, 8XC196NP specifications

The Intel 8XC196NP and 80C196NU microcontrollers are part of Intel's renowned 16-bit microcontroller series that gained popularity in the 1980s and 1990s for embedded systems applications. Designed for a variety of applications, these microcontrollers are characterized by their robust performance, versatility, and industry-standard architecture.

The 8XC196NP features an enhanced instruction set with over 100 instructions, allowing for efficient code execution. It operates at clock speeds up to 16 MHz, which contributes to improved performance in time-sensitive applications. The microcontroller is equipped with a 16-bit data bus, enabling more efficient data handling compared to its 8-bit predecessors, thus accommodating complex algorithms and large data sets.

In terms of memory architecture, the 8XC196NP supports an addressable memory space of up to 64 KB of program memory and 64 KB of data memory. This configuration provides sufficient space for large applications while ensuring fast data access. The microcontroller includes integrated features such as timers, serial I/O capabilities, and interrupt processing, which enhance its functionality for real-time applications and control mechanisms.

The 80C196NU, on the other hand, is designed for lower power operation, making it suitable for battery-powered devices. This microcontroller maintains similar features to the 8XC196NP while offering advancements that support low-power consumption. The 80C196NU can also function in a range of temperature environments, making it adaptable for industrial applications.

Both the 8XC196NP and 80C196NU support external memory interfacing, allowing designers to expand the system's capability by connecting additional ROM and RAM. This flexibility makes them appealing for developing complex systems, such as motor controls, industrial automation, and consumer electronics.

Another standout feature of these microcontrollers is their built-in debugging capabilities. Intel provided hardware and software tools that enabled developers to test and troubleshoot their applications effectively, reducing the development time and increasing reliability.

Overall, the Intel 8XC196NP and 80C196NU microcontrollers stand out for their dependability, versatility, and performance, contributing significantly to the evolution of embedded system design. Their legacy continues to influence modern microcontroller technology, ensuring their relevance in a wide array of applications today.