Datasheet

Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 337 of 982
REJ09B0054-0600
PB3/A11/TIOCD3
The pin function is switched as shown below according to combination of the operating mode,
the TPU channel 3
*
3
setting, AE3 to AE0 bits in PFCR, and the PB3DDR bit.
Operating
mode
Modes 4 to 6 Mode 7
AE3 to AE0 Other than
B'00xx
B'00xx
TPU channel 3
setting
*
1
*
3
Output Input or initial value Output Input or initial
value
PB3DDR 0 1 0 1
Pin functions A11 output
pin
TIOCD3
*
3
output pin
PB3
input pin
PB3
output
pin
TIOCD3
*
3
output pin
PB3
input
pin
PB3
output
pin
TIOCD3
*
3
input
pin
*
2
TIOCD3
*
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 TIOCD3 input when TPU channel 3 timer operating mode is set to
normal operating and IOD3 to IOD0 in TIORL_3 are set to 10xx.
3. Not available in the H8S/2227 Group.
PB2/A10/TIOCC3
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 PB2DDR bit.
Operating mode Modes 4 to 6 Mode 7
AE3 to AE0 Other than
(B'0010 or
B'000x)
B'0010 or B'000x
TPU channel 3
setting
*
1
*
3
Output Input or initial
value
Output Input or initial
value
PB2DDR 0 1 0 1
Pin functions A10 output
pin
TIOCC3
*
3
output pin
PB2
input
pin
PB2
output
pin
TIOCC3
*
3
output pin
PB2
input
pin
PB2
output
pin
TIOCC3
*
3
input
pin
*
2
TIOCC3
*
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 TIOCC3 input when TPU channel 3 timer operating mode is set to
normal operating mode and IOC3 to IOC0 in TIORL_3 are set to 10xx.
3. Not available in the H8S/2227 Group.