9 port c (pc0 to pc7) – Toshiba H1 Series User Manual

Page 138

Advertising
background image

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 external interruption establishes

it with IIMC register, which there is in interruption controller.

(1) PC0 (INT0), PC2 (INT2)






Figure 3.7.20 Port C0, C2

PC0 (INT0)
PC2(INT2)

Internal data b

u

s

Direction control

Reset

PCCR write

PCwrite

PC read

Function control

PCFC write

S

Output latch

S

B

Selector

A

Level/edge selection

and

Rising/Falling selection

IIMC<I0LE, I0EDGE>

<I2LE, I2EDGE>

INT0
INT2

Advertising
This manual is related to the following products: