RL78/F13, F14 CHAPTER 4 PORT FUNCTIONS
R01UH0368EJ0210 Rev.2.10 322
Dec 10, 2015
4.3.3 Pull-up resistor option registers (PUxx)
These registers specify whether the on-chip pull-up resistors are to be used or not. On-chip pull-up resistors can be
used in 1-bit units only for the bits set to input mode (PMmn = 1 and POMmn = 0) for the pins to which the use of an
on-chip pull-up resistor has been specified in these registers. On-chip pull-up resistors cannot be connected to bits
set to output mode and bits used as alternate-function output pins or analog pins, regardless of the settings of these
registers.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears these registers to 00H (only PU4 is set to 01H).
Figure 4-76. Format of Pull-up Resistor Option Register (100-pin products)
Note
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PU0
0 0 0 0
PU03 PU02 PU01 PU00 F0030H 00H R/W
PU1 PU17 PU16 PU15 PU14 PU13 PU12 PU11 PU10 F0031H 00H R/W
PU3 0 0 0 0
0 PU32
PU31 PU30 F0033H 00H R/W
PU4 PU47 PU46 PU45 PU44 PU43 PU42 PU41 PU40 F0034H 01H R/W
PU5 PU57 PU56 PU55 PU54 PU53 PU52 PU51 PU50 F0035H 00H R/W
PU6 PU67 PU66 PU65 PU64
PU63 PU62 PU61 PU60
F0036H 00H R/W
PU7 PU77 PU76 PU75 PU74 PU73 PU72 PU71 PU70 F0037H
00H R/W
PU9 PU97 PU96 PU95 PU94 PU93 PU92 0 0 F0039H 00H R/W
PU10 PU107 PU106 0 0 0 0 0 0 F003AH 00H R/W
PU12 PU127 PU126 PU125 0 0 0 0 PU120 F003CH
00H R/W
PU14 0 0 0 0 0 0 0 PU140 F003EH
00H R/W
PU15 PU157 PU156 PU155 PU154 PU153 PU152 PU151 PU150 F003FH
00H R/W
PUmn
Pmn pin on-chip pull-up resistor selection
(m = 0, 1, 3 to 7, 9, 10, 12, 14, 15; n = 0 to 7)
0 On-chip pull-up resistor not connected
1 On-chip pull-up resistor connected
Note Group E products do not have the PU9 register (products of Groups A to D have the PU9 register).
Caution Be sure to set bits for pins that are not present to their initial values.