8XC196NP, 80C196NU USER’S MANUAL

EPAx_CON (Continued)

Address:

Table 10-2 on page 10-3

x = 0–3

Reset State:

00H

The EPA control (EPAx_CON) registers control the functions of their assigned capture/compare channels. The registers for EPA0 andEPA2 are identical. The registers for EPA1 and EPA3 have an additional bit, the remap bit. This added bit (bit 8) requires an additional byte, so EPA1_CON and EPA3_CON must be addressed as words, while the others can be addressed as bytes.

x = 1, 3

x = 0, 2

15

 

 

 

 

7

 

 

 

 

 

 

 

TB

CE

M1

M0

7

 

 

 

 

 

 

 

TB

CE

M1

M0

 

 

 

 

8

RM

 

 

 

 

 

 

0

RE

ROT

ON/RT

 

 

 

 

0

RE

ROT

ON/RT

 

 

 

 

Bit

Bit

 

 

Function

Number

Mnemonic

 

 

 

 

 

 

 

 

5:4

M1:0

EPA Mode Select

 

 

In capture mode, specifies the type of event that triggers an input capture.

 

 

In compare mode, specifies the action that the EPA executes when the

 

 

reference timer matches the event time.

 

 

M1

M0

Capture Mode Event

 

 

0

0

no capture

 

 

0

1

capture on falling edge

 

 

1

0

capture on rising edge

 

 

1

1

capture on either edge

 

 

M1

M0

Compare Mode Action

 

 

0

0

no output

 

 

0

1

clear output pin

 

 

1

0

set output pin

 

 

1

1

toggle output pin

 

 

 

 

3

RE

Re-enable

 

 

 

Re-enable applies to the compare mode only. It allows a compare event

 

 

to continue to execute each time the event-time register (EPAx_TIME)

 

 

matches the reference timer rather than only upon the first time match.

 

 

0 = compare function is disabled after a single event

 

 

1 = compare function always enabled

 

 

 

2

Reserved; always write as zero.

 

 

 

 

 

These bits apply to the EPA1_CON and EPA3_CON registers only.

Figure 10-10. EPA Control (EPAx_CON) Registers (Continued)

10-20

Page 217
Image 217
Intel 8XC196NP, 80C196NU, Microcontroller manual Capture Mode Event, Compare Mode Action

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.