Renesas rl78 Manual De Usuario
RL78/G1A
CHAPTER 4 PORT FUNCTIONS
R01UH0305EJ0200 Rev.2.00
108
Jul 04, 2013
4.3.4 Port input mode registers (PIMxx)
These registers set the input buffer in 1-bit units.
TTL input buffer can be selected during serial communication with an external device of the different potential.
Port input mode registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears these registers to 00H.
Figure 4-4. Format of Port Input Mode Register
Symbol
7 6 5 4 3 2 1 0
Address
After
reset
R/W
PIM0 0 0 0
PIM04
PIM03
0
PIM01
PIM00
F0040H 00H R/W
PIM1 0 PIM16
PIM15
PIM14 0
0 PIM11
PIM10
F0041H 00H R/W
PIMmn
Pmn pin input buffer selection
(m = 0, 1 ; n = 0, 1, 3 to 6)
0
Normal input buffer
1
TTL input buffer
Caution Be sure to set bits that are not mounted to their initial values.
<R>