
638
18.3.13
Port E I/O Register (PEIOR)
The port E I/O register (PEIOR) is a 16-bit read/write register that selects input or output for the
16 port E pins. Bits PE15IOR–PE0IOR correspond to pins PE15/TIOC4D/DACK1/
IRQOUT
–
PE0/TIOC0A/
DREQ0
. PEIOR is enabled when the port E pins function as general input/outputs
(PE15–PE0) or TIOC pin of the MTU. For other functions, it is disabled.
When the port E pin functions are as PE15–PE0, or TIOC pin of the MTU, a given pin in port E is
an output pin if its corresponding PEIOR bit is set to 1, and an input pin if the bit is cleared to 0.
PEIOR is initialized to H'0000 by external power-on reset; however, it is not initialized for manual
resets, reset by WDT, standby mode, or sleep mode, so the previous data is maintained.
Bit:
15
14
13
12
11
10
9
8
PE15
IOR
PE14
IOR
PE13
IOR
PE12
IOR
PE11
IOR
PE10
IOR
PE9
IOR
PE8
IOR
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit:
76
5
4
3
2
1
0
PE7
IOR
PE6
IOR
PE5
IOR
PE4
IOR
PE3
IOR
PE2
IOR
PE1
IOR
PE0
IOR
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
18.3.14
Port E Control Registers 1, 2 (PECR1 and PECR2)
PECR1 and PECR2 are 16-bit read/write registers that select the functions of the sixteen
multiplexed pins of port E. PECR1 selects the functions of the upper eight bit pins of port E;
PECR2 selects the function of the lower eight bit pins of port E.
Port E has a bus control signal (
AH
) and DMAC control signals (DACK1, DACK0, DRAK1,
DRAK0), but there are instances when the register settings that select these pin functions will be
ignored, depending on the operation mode. Refer to table 18.2, Pin Arrangement by Mode, for
details.
PECR1 and PECR2 are both initialized to H'0000 by external power-on reset but are not initialized
for manual resets, reset by WDT, standby mode, or sleep mode, so the previous data is maintained.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...