RL78/G10 CHAPTER 4 PORT FUNCTIONS
R01UH0384EJ0311 Rev. 3.11 66
Dec 22, 2016
4.3.6 Peripheral I/O redirection register (PIOR)
This register is used to specify whether to enable or disable the peripheral I/O redirect function.
This function is used to switch ports to which alternate functions are assigned.
Use the PIOR register to assign a port to the function to redirect and enable the function.
In addition, can be changed the settings for redirection until its function enable operation.
The PIOR register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 4-6. Format of Peripheral I/O Redirection Register (PIOR)
10-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PIOR 0 0 0 0 0 PIOR2 PIOR1 PIOR0 F0077H 00H R/W
16-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PIOR 0 0 0 PIOR4 PIOR3 PIOR2 PIOR1 PIOR0 F0077H 00H R/W
Bit Function
Setting value
0 1
PIOR4
Note
INTP3 P06 P121
PIOR3
Note
INTP2 P41 P122
PIOR2 INTP1 P00 P03
PIOR1 TI01/TO01 P04 P40
PIOR0 PCLBUZ0 P02 P40
Note 16-pin products only.
Cautions 1. It is prohibited to set PIOR0 and PIOR1 to 1 at the same time.
2. Be sure to set bits that are not mounted to their initial values.