Datasheet

Section 10 I/O Ports
Page 610 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
PA6/A22/IRQ6-A/SSI0-B
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 SSU, bit A22E in PFCR1, bits SSO0S1 and SSO0S0 in PFCR5, bit PA6DDR, and
bit ITS6 in ITSR of the interrupt controller.
Modes 1, 2, and 4
A22E
SSU settings (1) in table below (2) in table
below
(3) in table
below
PA6DDR 0 1 0*
4
0 1
PA6 input PA6 output SSI0-B
input*
2
*
5
SSI0-B
output*
3
*
5
PA6 input A22 output Pin function
IRQ6-A interrupt input*
1
Modes 3 and 7
EXPE 1 0
A22E 0 1
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
PA6DDR 0 1 0*
4
0 1 0 1 0*
4
PA6
input
PA6
output
SSI0-B
input
*
2
*
5
SSI0-B
output
*
3
*
5
PA6
input
A22
output
PA6
input
PA6
output
SSI0-B
input
*
2
*
5
SSI0-B
output
*
3
*
5
Pin function
IRQ6-A interrupt input*
1
Notes: 1. IRQ6-A input when the ITS6 bit in ITSR is 0.
2. When using as SSI0-B input, set SSI0S1 and SSI0S0 in PFCR5 to B'01 before other
register setting.
3. When using as SSI0-B output, set SSI0S1 and SSI0S0 in PFCR5 to B'01 before other
register setting.
4. PA6DDR =0 when the SSU pin is used as input.
5. Do not set up for SSU unless SSI0S1 and SSI0S0 = B'01 in PFCR5.
Use as I/O port.