R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 161 of 458
REJ09B0250-0200
X: can be 0 or 1, no change in outcome
NOTE:
1. Set the PD2_3 bit in the PD2 register to 0 (input mode) at timer mode trigger input (input capture function).
X: can be 0 or 1, no change in outcome
NOTE:
1. Set the PD2_4 bit in the PD2 register to 0 (input mode) at timer mode trigger input (input capture function).
X: can be 0 or 1, no change in outcome
NOTE:
1. Set the PD2_5 bit in the PD2 register to 0 (input mode) at timer mode trigger input (input capture function).
Table 14.15 Pin Functions TRDIOD0(P2_3)
Register
TRDOER1
TRDFCR TRDPMR
TRDIORC0
Function
Bit ED0 PWM3
CMD1, CMD0
PWMD0
IOD2_IOD0
Setting
value
0X
1
X
b
X XXXb Complementary PWM mode waveform output
0 X 01b X XXXb Reset synchronous PWM mode waveform output
0 1 00b 1 XXXb PWM mode waveform output
0 1 00b 0
001b, 01
X
b
Timer mode waveform output (output compare function)
X 1 00b 0 1XXb
Timer mode trigger input (input capture function)
(1)
Other than above I/O port
Table 14.16 Pin Functions TRDIOA1(P2_4)
Register TRDOER1 TRDFCR TRDIORA1
Function
Bit EA1 PWM3 CMD1, CMD0 IOA2_IOA0
Setting
value
0X
1
X
b
XXXb Complementary PWM mode waveform output
0 X 01b XXXb Reset synchronous PWM mode waveform output
0 1 00b
001b, 01
X
b
Timer mode waveform output (output compare function)
X 1 00b 1XXb
Timer mode trigger input (input capture function)
(1)
Other than above I/O port
Table 14.17 Pin Functions TRDIOB1(P2_5)
Register
TRDOER1
TRDFCR TRDPMR
TRDIORA1
Function
Bit EB1 PWM3
CMD1, CMD0
PWMB1
IOB2_IOB0
Setting
value
0X
1
X
b
X XXXb Complementary PWM mode waveform output
0 X 01b X XXXb Reset synchronous PWM mode waveform output
0 1 00b 1 XXXb PWM mode waveform output
0 1 00b 0
001b, 01
X
b
Timer mode waveform output (output compare function)
X 1 00b 0 1XXb
Timer mode trigger input (input capture function)
(1)
Other than above I/O port