![Renesas RL78/G1H User Manual Download Page 98](http://html1.mh-extra.com/html/renesas/rl78-g1h/rl78-g1h_user-manual_1440449098.webp)
CHAPTER 5 PORT FUNCTIONS
Page 80 of 920
5.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, regardless of the settings of
these registers. Similarly, on-chip pull-up resistors cannot be connected to the pins used as alternate-function
output pins and the pins set to the analog function.
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 5 - 3 Format of Pull-up resistor option register
Caution
Be sure to set bits that are not mounted to their initial values.
Symbol
7
6
5
4
3
2
1
0
Address
After reset
R/W
0
0
0
PU04
PU03
PU02
0
0
0
PU16
PU15
PU14
PU13
PU12
PU11
PU10
0
0
0
0
0
0
PU31
PU30
0
0
0
0
0
0
0
PU40
PU7 PU77
PU76
PU75
0
0
PU72
PU71
PU70
0
0
0
0
0
PU82
PU81
PU80
0
0
0
0
0
0
0
PU100
0
0
0
0
0
0
0
PU120
0
0
0
PU144 PU143 PU142 PU141 PU140
PUmn
Pmn pin on-chip pull-up resistor selection (m = 0, 1, 3 to 8, 10 to 12, 14; n = 0 to 7)
0
On-chip pull-up resistor not connected
1
On-chip pull-up resistor connected
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...