EasyManua.ls Logo

Renesas RL78/G13 - Port 0

Renesas RL78/G13
1092 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 CHAPTER 4 PORT FUNCTIONS
R01UH0146EJ0100 Rev.1.00 167
Sep 22, 2011
Caution Most of the following descriptions in this chapter use the 128-pin products with the 00H setting in
peripheral I/O redirection register (PIOR) 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 P07 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).
Input to the P01, P03 and P04 pins can be specified through a normal input buffer or a TTL input buffer in 1-bit units
using port input mode register 0 (PIM0).
Output from the P00 and P02 to P04 pins can be specified as N-ch open-drain output (V
DD tolerance) in 1-bit units
using port output mode register 0 (POM0).
Input to the P00 to P03 pins can be specified as analog input or digital input in 1-bit units, using port mode control
register 0 (PMC0).
This port can also be used for timer I/O, A/D converter analog input, serial interface data I/O, and clock I/O.
When reset signal is generated, the following configuration will be set.
· P00 and P01 pins of the 20, 24, 25, 30, and 32-pin products ··· Analog input
· P00, P01 and P04 to P07 pins of the other products ··· Input mode
· P02 and P03 pins of the other products ··· Analog input
<R>
<R>

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals