Datasheet

Section 10 I/O Ports
R01UH0310EJ0500 Rev. 5.00 Page 615 of 1384
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 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 SSI0S1 and SSI0S0 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.