RL78/G13 CHAPTER 4 PORT FUNCTIONS
R01UH0146EJ0100 Rev.1.00 201
Sep 22, 2011
4.2.6 Port 5
Port 5 is an I/O port with an output latch. Port 5 can be set to the input mode or output mode in 1-bit units using port
mode register 5 (PM5). When the P50 to P57 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 5 (PU5).
Input to the P53 to P55 pins can be specified through a normal input buffer or a TTL input buffer in 1-bit units using port
input mode register 5 (PIM5).
Output from the P50, and P52 to P55 pin can be specified as N-ch open-drain output (V
DD tolerance) in 1-bit units using
port output mode register 5 (POM5).
This port can also be used for serial interface data I/O, clock I/O.
Reset signal generation sets port 5 to input mode.