English
Language : 

SH7147 Datasheet, PDF (819/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 19 I/O Ports
Table 19.8 Port E Data Register (PEDR) Read/Write Operations
• Bits 5 to 0 in PEDRH and bits 15 to 0 in PEDRL
PEIOR Pin Function Read
Write
0
General input Pin state
Can write to PEDRH and PEDRL, but it has no
effect on pin state
Other than
general input
Pin state
Can write to PEDRH and PEDRL, but it has no
effect on pin state
1
General output PEDRH or
Value written is output from pin
PEDRL value
Other than
PEDRH or
Can write to PEDRH and PEDRL, but it has no
general output PEDRL value effect on pin state
19.4.3 Port E Port Registers H and L (PEPRH and PEPRL)
PEPRH and PEPRL are 16-bit read-only registers that always return the states of the pins
regardless of the PFC setting. Bits PE21PR to PE0PR correspond to pins PE21 to PE0
(multiplexed functions omitted here).
• Port E Port Register H (PEPRH)
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
-
-
PE21 PE20 PE19 PE18 PE17 PE16
PR PR PR PR PR PR
Initial value: 0
0
0
0
0
0
0
0
0
0
*
*
*
*
*
*
R/W: R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Initial
Bit
Bit Name Value R/W
15 to 6 ⎯
All 0
R
5
PE21PR Pin state R
4
PE20PR Pin state R
3
PE19PR Pin state R
2
PE18PR Pin state R
1
PE17PR Pin state R
0
PE16PR Pin state R
Description
Reserved
These bits are always read as 0. The write value should
always be 0.
The pin state is returned regardless of the PFC setting.
These bits cannot be modified.
Rev. 3.00 Oct. 06, 2008 Page 795 of 1080
REJ09B0230-0300