6 port e i/o register (peior) – Renesas SH7641 User Manual
Page 882
Section 22 Pin Function Controller (PFC)
Rev. 4.00 Sep. 14, 2005 Page 832 of 982
REJ09B0023-0400
22.1.6
Port E I/O Register (PEIOR)
PEIOR is a 16-bit readable/writable register that selects the input/output direction of the port E
pins.
The PE15IOR to PE0IOR bits correspond to the PE15/TIOC0A to PE0/TIOC4D pins. PEIOR is
valid only when the port E pins function as the TIOC pins of the MTU (other functions).
Otherwise, PEIOR is invalid. When the port E pins function as the TIOC pins of the MTU (other
functions), setting a bit in PEIOR to 1 sets the pin to output and setting a bit in PEIOR to 0 sets
the pin to input. PEIOR is initialized to H'0000 by a power-on reset, and it is not initialized by a
manual reset, in standby mode, or in sleep mode.
Bit Bit
Name
Initial
Value
R/W Description
15 PE15IOR
0 R/W
14 PE14IOR
0 R/W
13 PE13IOR
0 R/W
12 PE12IOR
0 R/W
11 PE11IOR
0 R/W
10 PE10IOR
0 R/W
9 PE9IOR
0 R/W
8 PE8IOR
0 R/W
7 PE7IOR
0 R/W
6 PE6IOR
0 R/W
5 PE5IOR
0 R/W
4 PE4IOR
0 R/W
3 PE3IOR
0 R/W
2 PE2IOR
0 R/W
1 PE1IOR
0 R/W
0 PE0IOR
0 R/W
When the port E pins function as the TIOC pins of the
MTU (other functions):
PEnIOR (n = 0 to 15) controls the input/output direction
of the pins.
0: MTU input capture input
1: MTU output compare output
PEIOR is invalid when the port E pins function as pins
other than the TIOC pins of the MTU.