![](http://datasheet.mmic.net.cn/380000/-PD789830_datasheet_16744982/-PD789830_71.png)
CHAPTER 4 PORT FUNCTIONS
71
Table 4-1. Port Functions (
μ
PD789830)
Name
Pin Name
Function
Port 0
P00 to P07
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 1
P10, P11
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 2
P20 to P26
Input/output port
Can be set to either input or output in 1-bit units
P24 is an N-ch open-drain input/output port.
Port 3
P30 to P34
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 5
P50 to P57
Input/output port
Can be set to either input or output in 1-bit units
Table 4-2. Port Functions (
μ
PD78F9831)
Name
Pin Name
Function
Port 0
P00 to P07
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 1
P10 to P17
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 2
P20 to P26
Input/output port
Can be set to either input or output in 1-bit units
P24 is an N-ch open-drain input/output port.
Port 3
P30 to P34
Input/output port
Can be set to either input or output in 1-bit units
When used as an input port, whether the on-chip pull-up resistor is to be used can be
specified by pull-up resistor option register 0 (PU0).
Port 4
P40, P41
Input/output port
Can be set to either input or output in 1-bit units
Port 5
P50 to P57
Input/output port
Can be set to either input or output in 1-bit units