Intel 80C196NU, 8XC196NP Selecting the PTS Mode, Ptssrv, EPA3 EPA2 EPA1 EXTINT0 OVRTM1 OVRTM2

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 126
Image 126

STANDARD AND PTS INTERRUPTS

PTSSRV

Address:

0006H

 

Reset State:

0000H

The PTS service (PTSSRV) register is used by the hardware to indicate that the final PTS interrupt has been serviced by the PTS routine. When PTSCOUNT reaches zero, hardware clears the corre- sponding PTSSEL bit and sets the PTSSRV bit, which requests the end-of-PTS interrupt. When the end-of-PTS interrupt is called, hardware clears the PTSSRV bit. The PTSSEL bit must be set manually to re-enable the PTS channel.

15

EXTINT3

EXTINT2

OVR2_3

7

 

 

 

 

 

 

 

EPA0

RI

TI

EXTINT1

 

 

 

 

8

OVR0_1

EPA3

EPA2

EPA1

 

 

 

 

0

EXTINT0

OVRTM1

OVRTM2

 

 

 

 

Bit

 

Function

 

Number

 

 

 

 

 

 

 

 

15, 2

Reserved. These bits are undefined.

 

 

 

14:3

A bit is set by hardware to request an end-of-PTS interrupt for the corresponding interrupt

1:0

through its standard interrupt vector.

 

 

The standard interrupt vector locations are as follows.

 

 

Bit Mnemonic

Interrupt

Standard Vector

 

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

 

EPA0

EPA Capture/Compare Channel 0

FF200EH

 

RI

SIO Receive

FF200CH

 

TI

SIO Transmit

FF200AH

 

EXTINT1

EXTINT1 pin

FF2008H

 

EXTINT0

EXTINT0 pin

FF2006H

 

OVRTM2

Timer 2 Overflow/Underflow

FF2002H

 

OVRTM1

Timer 1 Overflow/Underflow

FF2000H

PTS service is not recommended for multiplexed interrupts. This bit is cleared when both corresponding interrupt pending bits are cleared in EPA_PEND.

Figure 6-10. PTS Service (PTSSRV) Register

6.6.2Selecting the PTS Mode

The second byte of each PTSCB is always an 8-bit value called PTSCON. Bits 5–7 select the PTS mode (Figure 6-11). The function of bits 0–4 differ for each PTS mode. Refer to the sections that describe each mode in detail to see the function of these bits. Table 6-4 on page 6-10 lists the cycle execution times for each PTS mode.

6-19

Page 126
Image 126
Intel 80C196NU, 8XC196NP, Microcontroller manual Selecting the PTS Mode, Ptssrv, EPA3 EPA2 EPA1 EXTINT0 OVRTM1 OVRTM2

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.