![Intel 80C196NU Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/intel/80c196nu/80c196nu_user-manual_2072209161.webp)
7-16
8XC196NP, 80C196NU USER’S MANUAL
7.3.1.5
Input Mode
Input mode is obtained by configuring the pin as an open-drain output (EP_DIR set and
EP_MODE clear) and writing a one to EP_REG.x. In this configuration, Q1 and Q2 are both off,
allowing an external device to drive the pin. To determine the value of the I/O pin, read EP_PIN.x.
Table 7-11 is a logic table for I/O operation and Table 7-12 is a logic table for address mode op-
eration of EPORT.
Table 7-11. Logic Table for EPORT in I/O Mode
Configuration
Complementary Output
Open-drain
Output
Input
EP_MODE
0
0
0
0
EP_DIR
0
0
0, 1 (Note 2)
1
EP_REG
0
1
0
1
Address Bit
X
X
X
X
Q1
off
on
off
off
Q2
on
off
on
off
EP_PIN
0
1
0
high-impedance
NOTES:
1.
X = Don’t care.
2.
If EP_REG is clear, Q2 is on; if EP_REG is set, Q2 is off.
Table 7-12. Logic Table for EPORT in Address Mode
Configuration
Complementary Output (Note 1)
EP_MODE
1
1
EP_DIR
X
X
EP_REG
X (Note 2)
X (Note 2)
Address Bit
0
1
Q1
off
on
Q2
on
off
EP_PIN
0
1
NOTES:
1.
X = Don’t care.
2.
EP_REG is output on EPORT during any nonextended external memory access.
Содержание 80C196NU
Страница 1: ...8XC196NP 80C196NU Microcontroller User s Manual...
Страница 2: ...8XC196NP 80C196NU Microcontroller User s Manual August 1995 Order Number 272479 002...
Страница 18: ...1 Guide to This Manual...
Страница 19: ......
Страница 31: ......
Страница 32: ...2 Architectural Overview...
Страница 33: ......
Страница 48: ...3 Advanced Math Features...
Страница 49: ......
Страница 56: ...4 Programming Considerations...
Страница 57: ......
Страница 72: ...5 Memory Partitions...
Страница 73: ......
Страница 106: ...6 Standard and PTS Interrupts...
Страница 107: ......
Страница 144: ...7 I O Ports...
Страница 145: ......
Страница 165: ......
Страница 166: ...8 Serial I O SIO Port...
Страница 167: ......
Страница 183: ......
Страница 184: ...9 Pulse width Modulator...
Страница 185: ......
Страница 196: ...10 Event Processor Array EPA...
Страница 197: ......
Страница 225: ......
Страница 226: ...11 Minimum Hardware Considerations...
Страница 227: ......
Страница 239: ......
Страница 240: ...12 Special Operating Modes...
Страница 241: ......
Страница 255: ......
Страница 256: ...13 Interfacing with External Memory...
Страница 257: ......
Страница 303: ......
Страница 304: ...A Instruction Set Reference...
Страница 305: ......
Страница 373: ......
Страница 374: ...B Signal Descriptions...
Страница 375: ......
Страница 390: ...C Registers...
Страница 391: ......
Страница 447: ......
Страница 448: ...Glossary...
Страница 449: ......
Страница 458: ...Index...
Страница 459: ......