TMP92CZ26A

92CZ26A-135

3.7.9 Port C (PC0 to PC7)

PC0 to PC7 are 8-bit general-purpose I/O port. Each bit can be set individually for input
or output. Resetting sets Port C to an input port. It also sets all bits of the output latch
register to “1”.
In addition to functioning as a general-purpose I/O port, Port C can also function as
input pin for timers (TA0IN, TA2IN), input pin for external interruption (INT0 to INT3),
Extension address function (EA26, EA27, EA28) and output pin for Key (KO8). Above
setting is used the function register PCFC. Edge select of extern al interruption establishes
it with IIMC register, which there is in interru pti on controller.
(1) PC0 (INT0), PC2 (INT2)
Figure 3.7.20 Port C0, C2
PC0 (INT0)
PC2(INT2)
Internal data bus
Direction control
Reset
PCCR write
PCwrite
PC read
Function control
PCFC write
S
Output latch
SB
Selector
A
Level/edge selection
and
Rising/Falling selection
IIMC<I0LE, I0EDGE>
<I2LE, I2EDGE>
INT0
INT2