RL78/I1D
Operation state switching IAR
R01AN3597EJ0100 Rev.1.00
Page 17 of 42
Jan. 31, 2017
Setting up the LED1-LED2 pin
Port register (P6)
Port mode register (PM6)
Select I/O mode and output level of each port for LED1,LED2
Symbol: PM6
7
6
5
4
3
2
1
0
0
0
0
0
P63
P62
P61
P60
0
0
0
0
0
0
1
1
Bit 1
P61
P61 I/O mode selection
0
Output 0
1
Output 1
Bit 0
P60
P60 I/O mode selection
0
Output 0
1
Output 1
Symbol: PM6
7
6
5
4
3
2
1
0
1
1
1
1
PM63
PM62
PM61
PM60
1
1
1
1
0
0
0
0
Bit 1
PM61
PM61 I/O mode selection
0
Output mode (output buffer on)
1
Input mode (output buffer off)
Bit 0
PM60
PM60 I/O mode selection
0
Output mode (output buffer on)
1
Input mode (output buffer off)
Caution: For details on the register setup procedures, refer to RL78/I1D User's Manual: Hardware.