Datasheet
Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 338 of 982
REJ09B0054-0600
• PB1/A9/TIOCB3
The pin functions are switched as shown below according to the combination of operating mode,
the TPU channel 3
*
3
setting, AE3 to AE0 bits in PFCR, and the PB1DDR bit.
Operating mode Modes 4 to 6 Mode 7
AE3 to AE0 Other than
B'000x
B'000x ⎯
TPU channel 3
setting
*
1
*
3
⎯ Output Input or initial
value
Output Input or initial
value
PB1DDR ⎯ ⎯ 0 1 ⎯ 0 1
Pin functions A9 output
pin
TIOCB3
*
3
output pin
PB1
input
pin
PB1
output
pin
TIOCB3
*
3
output pin
PB1
input
pin
PB1
output
pin
TIOCB3
*
3
input
pin
*
2
TIOCB3
*
3
input
pin
*
2
Notes: 1. For the setting of the TPU channel, see section 11, 16-Bit Timer Pulse Unit (TPU).
2. This pin functions as TIOCB3 input when TPU channel 3 timer operating mode is set to
normal operating mode and IOB3 to IOB0 in TIORH_3 are set to 10xx.
3. Not available in the H8S/2227 Group.
• PB0/A8/TIOCA3
The pin functions are switched as shown below according to the combination of the operating
mode, TPU channel 3
*
3
setting, the AE3 to AE0 bits in PFCR, and the PB0DDR bit.
Operating mode Modes 4 to 6 Mode 7
AE3 to AE0 Other than
B'0000
B'0000 ⎯
TPU channel 3
setting
*
1
*
3
⎯ Output Input or initial
value
Output Input or initial
value
PB0DDR ⎯ ⎯ 0 1 ⎯ 0 1
Pin functions A8 output
pin
TIOCA3
*
3
output pin
PB0
input
pin
PB0
output
pin
TIOCA3
*
3
output pin
PB0
input
pin
PB0
output
pin
TIOCA3
*
3
input
pin
*
2
TIOCA3
*
3
input
pin
*
2
Notes: 1. For the setting of the TPU channel, see section 11, 16-Bit Timer Pulse Unit (TPU).
2. This pin functions as TIOCA3 input when TPU channel 3 timer operating mode is set to
normal operating mode and IOA3 to IOA0 in TIORH_3 are set to 10xx.
3. Not available in the H8S/2227 Group.