6-19
I/O PORTS
6.5.1
EPORT Operation
As Figure 6-4 shows, each EPORT pin serves either as I/O or as an address line, as selected by
the I/O multiplexer. This multiplexer is controlled by the EP_MODE register. If EP_MODE is
clear (I/O mode), the pin serves as I/O until EP_MODE is changed.
EP_MODE
1FE1H
EPORT Mode
Each bit of EP_MODE controls whether the corresponding pin
functions as a standard I/O port pin or as an extended-address
signal. Setting a bit configures a pin as an extended-address signal;
clearing a bit configures a pin as a standard I/O port pin.
EP_PIN
1FE7H
EPORT Pin State
Each bit of EP_PIN reflects the current state of the corresponding
pin, regardless of the pin configuration.
EP_REG
1FE5H
EPORT Data Output
Each bit of EP_REG contains data to be driven out by the corre-
sponding pin. When a pin is configured as standard I/O
(EP_MODE.
x
=0), the result of a CPU write to EP_REG is
immediately visible on the pin.
During nonextended data accesses, EP_REG contains the value of
the memory page that is to be accessed. For compatibility with
software tools, clear the EP_REG bit for any EPORT pin that is
configured as an extended-address signal (EP_MODE.
x
set).
Table 6-15. EPORT Control and Status Registers (Continued)
Mnemonic
Address
Description
Summary of Contents for 8XC196NT
Page 1: ...8XC196NT Microcontroller User s Manual...
Page 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Page 22: ...1 Guide to This Manual...
Page 23: ......
Page 35: ......
Page 36: ...2 Architectural Overview...
Page 37: ......
Page 49: ......
Page 50: ...3 Programming Considerations...
Page 51: ......
Page 66: ...4 Memory Partitions...
Page 67: ......
Page 104: ...5 Standard and PTS Interrupts...
Page 105: ......
Page 147: ......
Page 148: ...6 I O Ports...
Page 149: ......
Page 176: ...7 Serial I O SIO Port...
Page 177: ......
Page 194: ...8 Synchronous Serial I O SSIO Port...
Page 195: ......
Page 211: ......
Page 212: ...9 Slave Port...
Page 213: ......
Page 231: ......
Page 232: ...10 Event Processor Array EPA...
Page 233: ......
Page 270: ...11 Analog to digital Converter...
Page 271: ......
Page 291: ......
Page 292: ...12 Minimum Hardware Considerations...
Page 293: ......
Page 306: ...13 Special Operating Modes...
Page 307: ......
Page 317: ......
Page 318: ...14 Interfacing with External Memory...
Page 319: ......
Page 362: ...15 Programming the Nonvolatile Memory...
Page 363: ......
Page 408: ...A Instruction Set Reference...
Page 409: ......
Page 476: ...B Signal Descriptions...
Page 477: ......
Page 493: ......
Page 494: ...C Registers...
Page 495: ......
Page 565: ......
Page 566: ...Glossary...
Page 567: ......
Page 580: ...Index...
Page 581: ......
Page 597: ......