EasyManuals Logo
Home>Renesas>Computer Hardware>RL78/F14

Renesas RL78/F14 User Manual

Renesas RL78/F14
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #236 background imageLoading...
Page #236 background image
RL78/F13, F14 CHAPTER 4 PORT FUNCTIONS
R01UH0368EJ0210 Rev.2.10 204
Dec 10, 2015
Caution Most of the following descriptions in this chapter use the 100-pin products as an example.
4.2.1 Port 0
Port 0 is an I/O port with an output latch. Port 0 can be set to the input mode or output mode in 1-bit units using port
mode register 0 (PM0). When the P00 to P03 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 0 (PU0).
This port can also be used for timer I/O, real-time clock correction clock output, and external interrupt request input.
Reset signal generation sets this port to input mode.
Table 4-3. Settings of Registers When Using Port 0
Pin Name PM0x
Alternate Function Setting
Note 5
Remark
Name I/O
P00 Input 1
ï‚´
Output 0
(TO05 output = 0)
Note 1, 3
P01 Input 1
ï‚´
Output 0
(TO04 output = 0)
Note 1, 3
P02 Input 1
ï‚´
Output 0
(TO06 output = 0)
Note 1, 3
P03 Input 1
ï‚´
Output 0
(RTC1HZ output = 0)
Note 2, 4
Notes 1. When a pin sharing a timer output function of the timer array unit is to be used as a general-purpose port
pin, the TOmn bit of the timer output register m (TOm) and the TOEmn bit of the timer output enable
register m (TOEm) corresponding to the target unit and channel must have the same setting as in the initial
state (m = 0, 1, n = 0 to 7).
2. When a pin sharing the output (1-Hz) function of the RTC1HZ pin is to be used as a general-purpose port
pin, the RCLOE1 bit of the real-time clock control register 0 (RTCC0) must have the same setting as its
initial value.
3. When a pin sharing a timer output function of the timer array unit is to be used as a general-purpose port
pin, operation of the corresponding timer output must be stopped.
4. The RCLOE1 bit of the real-time clock control register 0 (RTCC0) must have the same setting as its initial
value.
5. Functions in parentheses can be assigned via settings in the peripheral I/O redirection registers 1, 8
(PIOR1, PIOR8).
Remark ï‚´: Don't care
PM0x: Port mode register 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/F14 and is the answer not in the manual?

Renesas RL78/F14 Specifications

General IconGeneral
BrandRenesas
ModelRL78/F14
CategoryComputer Hardware
LanguageEnglish

Related product manuals