Datasheet
RL78/L12 CHAPTER 4 PORT FUNCTIONS
R01UH0330EJ0200 Rev.2.00 109
Dec 13, 2013
4.3.4 Port input mode register (PIM1)
These registers set the input buffer in 1-bit units.
TTL input buffer can be selected during serial communication, etc 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 (64-pin products)
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PIM1 0 PIM16 PIM15 0 0 0 PIM11 PIM10 F0041H 00H R/W
PIM1n
P1n pin input buffer selection
(n = 0, 1, 5, 6)
0 Normal input buffer
1 TTL input buffer
Cautions 1. When using P10/SCK00/SEG28, P11/SI00/RxD0/TOOLRxD/SEG29, P15/SCK01/INTP1/SEG4,
and P16/SI01/INTP2/SEG5 as LCD controller/driver function pins (segment output pins),
setting the PIM1n bit to 1 is prohibited.
2. Be sure to set bits that are not mounted to their initial values.
4.3.5 Port output mode register (POM1)
This register set the output mode of P10, P12, P15, P17 in 1-bit units.
N-ch open drain output (V
DD tolerance
Note 1
/EVDD tolerance
Note 2
) mode can be selected during serial communication
with an external device of the different potential.
In addition, POMxx register is set with PUxx register, whether or not to use the on-chip pull-up resistor.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Caution An on-chip pull-up resistor is not connected to a bit for which N-ch open drain output (V
DD
tolerance
Note 1
/EVDD tolerance
Note 2
) mode is set.
Figure 4-5. Format of Port Input Mode Register (64-pin products)
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
POM1 POM17 0 POM15 0 0 POM12 0 POM10 F0051H 00H R/W
POM1n Pmn pin output mode selection (n = 0, 2, 5, 7)
0 Normal output mode
1
N-ch open-drain output (V
DD tolerance
Note 1
/EVDD tolerance
Note 2
) mode
Notes 1. 32, 44, 48, 52-pin products : V
DD tolerance
2. 64-pin products : EV
DD tolerance
Caution Be sure to set bits that are not mounted to their initial values.
<R>
<R>
<R>