µPD75304B,75306B,75308B
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 PORTS
There are four kinds of I/O ports, as follows.
• CMOS input (PORT0, 1)
:8
• CMOS input/output (PORT2, 3, 6, 7) : 16
• N-ch open drain (PORT4, 5)
:8
• CMOS output (BP0 to BP7)
:8
Total
40
Fig. 5-1 Port Functions
Port (Symbol)
PORT 0
PORT 1
Function
4-bit input
PORT 2
PORT 7
PORT 3 *
4-bit input/output
PORT 6
PORT 4 *
PORT 5 *
4-bit input/output
(N-ch open-drain
10 V withstand
voltage)
Operation/Features
Always readable or testable irrespective of
dual-function pin operating mode.
Can be set to input or output mode as 4-bit
unit. Ports 6 & 7 can be paired for 8-bit data
input/output.
Can be set to input or output mode bit-wise.
Can be set to input or output mode as 4-bit
unit. Ports 4 & 5 can be paired for 8-bit data
input/output.
Remarks
Dual function as INT4, SCK, SO/
SB0 & SI/SB1 pins
Dual function as pins INT0 to
INT2 & TI0
Dual function as PTO0, PCL &
BUZ pins
Dual function as pins KR4 to
KR7
Dual function as LCDCL & SYNC
pins
Dual function as pins KR0 to
KR3
Incorporation of pull-up resistor
can be specified bit-wise by
mask option.
BP0 to BP7
1-bit output
Outputs data bit-wise. Switchable by
software with LCD drive segment outputs
S24 to S31.
Small drive capability.
For CMOS load drive.
* Direct LED drive capability
21