Datasheet
Section 10 I/O Ports
R01UH0310EJ0500 Rev. 5.00 Page 663 of 1384
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 Group
• PF3/LWR/SSO0-C
The pin function is switched as shown below according to the combination of the operating
mode, bit EXPE, bits MSS and BIDE in SSCRH, bit SSUMS in SSCRL, and bits TE and RE
in SSER of the SSU, bit LWROE in PFCR2, bits SSOS1 and SSOS0 in PFCR5, and bit
PF3DDR.
Operating
mode
1, 2, 4 3, 7 (EXPE = 1) 3, 7 (EXPE = 0)
LWROE 1 0 0
SSU settings ⎯ (1) in table below (2) in
table
below
(3) in
table
below
(1) in table
below
(2) in
table
below
(3) in
table
below
PF3DDR ⎯ 0 1 0*
3
⎯ 0 1 0*
3
⎯
Pin function LWR
output
PF3
input
PF3
output
SSO0-C
input*
1
*
4
SSO0-C
output*
2
*
4
PF3
input
PF3
output
SSO0-C
input*
1
*
4
SSO0-C
output*
2
*
4
Notes: 1. When using as SSO0-C input, set SSO0S1 and SSO0S0 in PFCR5 to B'10 before other
register setting.
2. When using as SSO0-C output, set SSO0S1 and SSO0S0 in PFCR5 to B'10 before
other register setting.
3. PF3DDR = 0 when the SSU pin is used as input.
4. Do not set up for SSU unless SSO0S1 and SSO0S0 = B'10 in PFCR5.
Use as I/O port.
SSU
settings
(1) (2) (1) (2) (1) (3) (3) (2) (3) (2) (3) (1) (3) (3) (1) (3) (3)
SSUMS 0 0 1*
1
BIDE 0 1*
2
0
MSS 0 1 0 1 0 1
TE 0 1 0 1 0 1 0 1 0 1 0 1
RE 0 1 0 1 1 0 1 1 0 1 0 1 0 1 1 0 1
Pin state ⎯ SSO
input
⎯ SSO
input
⎯ SSO
output
SSO
output
SSO
input
SSO
output
SSO
input
SSO
output
⎯ SSO
output
SSO
output
⎯ SSO
output
SSO
output
[Legend]
⎯: Not used as the SSU pin (can be used as an I/O port).
Note: See tables 19.4 to 19.6.
1. Do not set BIDE to 1 when SSUMS = 1 in SSU.
2. Do not specify that TE = RE = 1 when operating with BIDE = 1 (bidirectional mode).