Intel 8XC196NP manual Table C-14. PxREG Addresses and Reset Values, PxREG Address Table C-14

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 424
Image 424

 

 

REGISTERS

 

 

Px_REG

 

 

 

Px_REG

Address:

Table C-14

x = 1–4

Reset State:

 

For an input, set the corresponding port x data ouput (Px_REG) register bit.

For an output, write the data to be driven out by each pin to the corresponding bit of Px_REG. When a pin is configured as standard I/O (Px_MODE.y = 0), the result of a CPU write to Px_REG is immediately visible on the pin. When a pin is configured as a special-function signal (Px_MODE.y = 1), the associated on-chip peripheral or off-chip component controls the pin. The CPU can still write to Px_REG, but the pin is unaffected until it is switched back to its standard I/O function.

This feature allows software to configure a pin as standard I/O (clear Px_MODE.y), initialize or overwrite the pin value, then configure the pin as a special-function signal (set Px_MODE.y). In this way, initialization, fault recovery, exception handling, etc., can be done without changing the operation of the associated peripheral.

 

7

 

 

 

 

 

 

 

0

x = 1–3

 

PIN7

PIN6

PIN5

PIN4

 

PIN3

PIN2

PIN1

PIN0

 

 

7

 

 

 

 

 

 

 

0

x = 4

 

 

 

 

 

 

 

 

 

 

 

 

PIN3

PIN2

PIN1

PIN0

 

 

 

 

 

 

 

 

 

 

 

Bit Number

 

Bit

 

 

 

Function

 

 

 

Mnemonic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7:0

PIN7:0

Port x Pin y Output

 

 

 

 

 

 

 

 

 

To use Px.y for output, write the desired output data to this bit. To use

 

 

 

Px.y for input, set this bit.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table C-14. Px_REG Addresses and Reset Values

Register

Address

Reset Value

 

 

 

P1_REG

1FD4H

FFH

 

 

 

P2_REG

1FD5H

FFH

 

 

 

P3_REG

1FDCH

FFH

 

 

 

P4_REG

1FDDH

FFH

 

 

 

C-33

Page 424
Image 424
Intel 8XC196NP, 80C196NU, Microcontroller manual Table C-14. PxREG Addresses and Reset Values, PxREG Address Table C-14

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.