English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (158/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 4 PORT FUNCTIONS
4.2.4 Port 3
<R>
P30/TI03/TO00/RTC1HZ/
INTP1
P31/TI00/TO03/RTCDIV/
RTCCL/PCLBUZ1/INTP2
P32/TI01/TO01/PCLBUZ0/
INTP5
P33/TI07/TO07/INTP3
P34/TI06/TO06/INTP8
78K0R/LF3
(80 pins: μ PD78F15x0A,
78F1501A, 78F15x2A)
78K0R/LG3
(100 pins: μ PD78F15x3A,
78F1504A, 78F15x5A)
√
78K0R/LH3
(128 pins: μ PD78F15x6A,
78F1507A, 78F15x8A)
√
√
√
−
√
Port 3 is an I/O port with an output latch. Port 3 can be set to the input mode or output mode in 1-bit units using port
mode register 3 (PM3). When the P30 to P34 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 3 (PU3).
This port can also be used for timer I/O, real-time counter clock output, correction clock output, clock output/buzzer
output, and external interrupt request input.
Reset signal generation sets port 3 to input mode.
Figure 4-10 shows a block diagram of port 3.
Cautions 1.
2.
3.
4.
To use P30/TO00/TI03/RTC1HZ/INTP1 as a general-purpose port, set bit 5 (RCLOE1) of real-time
counter control register 0 (RTCC0), bit 0 (TO00) of timer output register 0 (TO0) and bit 0 (TOE00)
of timer output enable register 0 (TOE0) to “0”, which is the same as their default status setting.
To use P31/TO03/TI00/RTCDIV/RTCCL/PCLBUZ1/INTP2 as a general-purpose port, set bit 4
(RCLOE0) of real-time counter control register 0 (RTCC0), bit 6 (RCLOE2) of real-time counter
control register 2 (RTCC2), bit 3 (TO03) of timer output register 0 (TO0), bit 3 (TOE03) of timer
output enable register 0 (TOE0) and bit 7 of clock output select register 1 (CKS1) to “0”, which is
the same as their default status setting.
To use P32/TO01/TI01/INTP5/PCLBUZ0 as a general-purpose port, set bit 1 (TO01) of timer output
register 0 (TO0), bit 1 (TOE01) of timer output enable register 0 (TOE0) and bit 7 of clock output
select register 0 (CKS0) to “0”, which is the same as their default status setting.
To use P33/TO07/TI07/INTP3 and P34/TO06/TI06/INTP8 as a general-purpose port, set bit 7, 6
(TO07, TO06) of timer output register 0 (TO0), and bit 7, 6 (TOE07, TOE06) of timer output enable
register 0 (TOE0) to “0”, which is the same as their default status setting.
R01UH0004EJ0501 Rev.5.01
142
Jun 20, 2011