English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (149/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 4 PORT FUNCTIONS
<R>
4.2.2 Port 1
P10/SCK20/SCL20
P11/SI20/RxD2/SDA20/INTP6
P12/SO20/TxD2/TO02
P13/SO10/TxD1/TO04
P14/SI10/RxD1/SDA10/INTP4
P15/SCK10/SCL10/INTP7
P16/TI05/TO05/INTP10
P17
78K0R/LF3
(80 pins: μ PD78F15x0A,
78F1501A, 78F15x2A)
−
−
78K0R/LG3
(100 pins: μ PD78F15x3A,
78F1504A, 78F15x5A)
√
√
√
√
√
√
√
−
78K0R/LH3
(128 pins: μ PD78F15x6A,
78F1507A, 78F15x8A)
√
√
Port 1 is an I/O port with an output latch. Port 1 can be set to the input mode or output mode in 1-bit units using port
mode register 1 (PM1). When the P10 to P17 pins are used as an input port, use of an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register 1 (PU1).
Input to the P10, P11, P14, and P15 pins can be specified through a normal input buffer or a TTL input buffer in 1-bit
units using port input mode register 1 (PIM1).
Output from the P10 to P15 pins can be specified as N-ch open-drain output (VDD tolerance) in 1-bit units using port
output mode register 1 (POM1).
This port can also be used for serial interface clock I/O, data I/O, timer I/O, and external interrupt request input,.
Reset signal generation sets port 1 to input mode.
Figures 4-3 to 4-6 show block diagrams of port 1.
Cautions 1.
2.
3.
4.
5.
To use P10/SCK20/SCL20 and P11/SI20/RxD2/SDA20/INTP6 as a general-purpose port, note the
serial array unit 1 setting. For details, refer to Table 14-9 Relationship Between Register Settings
and Pins (Channel 0 of unit 1: CSI20, UART2 Reception, IIC20).
To use P12/TO02/SO20/TxD2 as a general-purpose port, set bit 2 (TO02) of timer output register 0
(TO0) and bit 2 (TOE02) of timer output enable register 0 (TOE0) to “0”, which is the same as
their default status setting. And as a general-purpose port, note the serial array unit 1 setting.
For details of serial array unit 1 setting, refer to Table 14-9 Relationship Between Register
Settings and Pins (Channel 0 of unit 1: CSI20, UART2 Reception, IIC20).
To use P13/TO04/SO10/TxD1 as a general-purpose port, set bit 4 (TO04) of timer output register 0
(TO0) and bit 4 (TOE04) of timer output enable register 0 (TOE0) to “0”, which is the same as
their default status setting. And as a general-purpose port, note the serial array unit 0 setting.
For details of serial array unit 0 setting, refer to Table 14-7 Relationship Between Register
Settings and Pins (Channel 2 of unit 0: CSI10, UART1 Transmission, IIC10)
To use P14/SI10/RxD1/SDA10/INTP4 and P15/SCK10/SCL10/INTP7 as a general-purpose port,
note the serial array unit 0 setting. For details, refer to Table 14-7 Relationship Between Register
Settings and Pins (Channel 2 of unit 0: CSI10, UART1 Transmission, IIC10)
To use P16/TO05/TI05/INTP10 as a general-purpose port, set bit 5 (TO05) of timer output register
0 (TO0) and bit 5 (TOE05) of timer output enable register 0 (TOE0) to “0”, which is the same as
their default status setting.
R01UH0004EJ0501 Rev.5.01
133
Jun 20, 2011