IBM EM78P447N manual 4.4 I/O Ports, a The I/O Port and I/O Control Register Circuit

Models: EM78P447N

1 58
Download 58 pages 20.07 Kb
Page 20
Image 20
4.4 I/O Ports

EM78P447N

8-Bit Microcontroller with OTP ROM

4.4 I/O Ports

The I/O registers, Port 5, Port 6, and Port 7, are bi-directional tri-state I/O ports. The functions of Pull-high, R-option, and Open-drain can be performed internally by CONT and IOCE respectively. There is input status change wake-up function on Port 6, P74, and P75. Each I/O pin can be defined as "input" or "output" pin by the I/O control register (IOC5 ~ IOC7). The I/O registers and I/O control registers are both readable and writable. The I/O interface circuits for Port 5, Port 6, and Port 7 are shown in Figures. 7(a) and (b) respectively.

PORT

 

 

PCRD

 

 

Q

PR

D

 

 

Q

CLK

PCWR

 

CL

 

 

 

Q

PR

D

 

 

 

 

PDWR

 

Q

CLK

 

CL

 

 

0

M

 

 

PDRD

1

U

 

 

 

X

 

 

 

IOD

Fig. 7 (a) The I/O Port and I/O Control Register Circuit

VCC ROC

Weakly

Pull- up

PORT

Rex*

PCRD

Q PR D

CLK

Q CL

Q PR D

CLKFig. 7 (a) The I/O Port and I/O Control Register Circuit

Q CL

0 M Fig.7 (b) The I/O Port with R-Option (P70, P71) Circuit U 1 X

PCWR

IOD

PDWR

PDRD

*The Rex is 430K ohm external resistor

Fig.7 (b) The I/O Port with R-Option (P70, P71) Circuit

16

Product Specification (V1.1) 03.30.2005

(This specification is subject to change without further notice)

Page 20
Image 20
IBM EM78P447N manual 4.4 I/O Ports, a The I/O Port and I/O Control Register Circuit