8XC251SA, SB, SP, SQ USER’S MANUAL
7-6
7.6
QUASI-BIDIRECTIONAL PORT OPERATION
Port 1, port 2, and port 3 have fixed internal pullups and are referred to as “quasi-bidirectional”
ports. When configured as an input, the pin impedance appears as logic one and sources current
(see the 8XC251Sx datasheet) in response to an external logic-zero condition. Port 0 is a “true
bidirectional” pin. The pin floats when configured as input. Resets write logical one to all port
latches. If logical zero is subsequently written to a port latch, it can be returned to input conditions
by a logical one written to the latch. For additional electrical information, refer to the 8XC251SA,
SB, SP, SQ High-Performance CHMOS Microcontroller Datasheet.
NOTE
Port latch values change near the end of read-modify-write instruction cycles.
Output buffers (and therefore the pin state) update early in the instruction after
the read-modify-write instruction cycle.
Logical zero-to-one transitions in port 1, port 2, and port 3 utilize an additional pullup to aid this
logic transition (see Figure 7-4). This increases switch speed. The extra pullup briefly sources 100
times the normal internal circuit current. The internal pullups are field-effect transistors rather
than linear resistors. Pullups consist of three p-channel FET (pFET) devices. A pFET is on when
the gate senses logical zero and off when the gate senses logical one. pFET #1 is turned on for
two oscillator periods immediately after a zero-to-one transition in the port latch. A logic one at
the port pin turns on pFET #3 (a weak pullup) through the inverter. This inverter and pFET pair
form a latch to drive logic one. pFET #2 is a very weak pullup switched on whenever the associ-
ated nFET is switched off. This is the traditional CMOS switch convention. Current strengths are
1/10 that of pFET #3.
Summary of Contents for 8XC251SA
Page 2: ......
Page 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Page 18: ......
Page 19: ...1 Guide to This Manual...
Page 20: ......
Page 30: ......
Page 31: ...2 Architectural Overview...
Page 32: ......
Page 41: ...3 Address Spaces...
Page 42: ......
Page 63: ...4 Device Configuration...
Page 64: ......
Page 81: ...5 Programming...
Page 82: ......
Page 102: ......
Page 103: ...6 Interrupt System...
Page 104: ......
Page 120: ......
Page 121: ...7 Input Output Ports...
Page 122: ......
Page 132: ......
Page 133: ...8 Timer Counters and Watchdog Timer...
Page 134: ......
Page 153: ...9 Programmable Counter Array...
Page 154: ......
Page 170: ......
Page 171: ...10 Serial I O Port...
Page 172: ......
Page 187: ...11 Minimum Hardware Setup...
Page 188: ......
Page 197: ...12 Special Operating Modes...
Page 198: ......
Page 206: ......
Page 207: ...13 External Memory Interface...
Page 208: ......
Page 239: ...14 Programming and Verifying Nonvolatile Memory...
Page 240: ......
Page 250: ......
Page 251: ...A Instruction Set Reference...
Page 252: ......
Page 390: ......
Page 391: ...B Signal Descriptions...
Page 392: ......
Page 400: ......
Page 401: ...C Registers...
Page 402: ......
Page 436: ......
Page 437: ...Glossary...
Page 438: ......
Page 446: ......
Page 447: ...Index...
Page 448: ......
Page 458: ......