Pull-Up Resistor Option Registers (Puxx) - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

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) 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 and analog setting (PMC = 1), 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).
Symbol
7
6
Note
PU1
PU17
PU16
PU3
0
0
PU4
0
0
PUmn
0
On-chip pull-up resistor not connected
1
On-chip pull-up resistor connected
Note These are not provided in 24-pin products.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 4-18. Format of Pull-up Resistor Option Register
5
4
3
Note
PU15
PU14
PU13
Note
Note
PU35
PU34
PU33
0
0
0
Pmn pin on-chip pull-up resistor selection
CHAPTER 4 PORT FUNCTIONS
2
1
0
Note
PU12
PU11
PU10
PU32
PU31
PU30
0
0
PU40
(m = 0, 1, 4; n = 0 to 7)
Address
After reset
R/W
F0031H
00H
R/W
F0033H
00H
R/W
F0034H
01H
R/W
87

Advertisement

Table of Contents
loading

Table of Contents