Section 32 General Purpose I/O Ports
R01UH0134EJ0400 Rev. 4.00 Page 1719 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name Initial Value R/W Description
5, 4 PD1MD[1:0] 00/01 R/W PD1 Mode
Select the function of the PD1.
Boot mode 0
00: Setting prohibited
01: D1 (initial value)
10: Setting prohibited
11: Setting prohibited
Boot mode 1 to 3
00: PD1 (initial value)
01: D1
10: PWM1B
11: Setting prohibited
3, 2 All 0 R Reserved
These bits are always read as 0. The write
value should always be 0.
1, 0 PD0MD[1:0] 00/01 R/W PD0 Mode
Select the function of the PD0.R
Boot mode 0
00: Setting prohibited
01: D0 (initial value)
10: Setting prohibited
11: Setting prohibited
Boot mode 1 to 3
00: PD0 (initial value)
01: D0
10: PWM1A
11: Setting prohibited
32.2.13 Port D I/O Register 0 (PDIOR0)
PDIOR0 is a 16-bit readable/writable register that is used to set the pins on port D as inputs or
outputs. The PD15IOR to PD0IOR bits correspond to the PD15 to PD0 pins, respectively. The
setting of PDIOR0 is valid for the pins for which general I/O function is selected and has no effect
on the pins for which other function is selected. If a bit in PDIOR0 is set to 1, the corresponding
pin on port D functions as an output. If it is cleared to 0, the corresponding pin functions as an
input.
15
14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
0000000000000000
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
PD15
IOR
PD14
IOR
PD13
IOR
PD12
IOR
PD11
IOR
PD10
IOR
PD9
IOR
PD8
IOR
PD7
IOR
PD6
IOR
PD5
IOR
PD4
IOR
PD3
IOR
PD2
IOR
PD1
IOR
PD0
IOR
Bit:
Initial value:
R/W: