RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 465 of 1006
Feb 20, 2013
Table 15.9 Bits TPSC[2:0] (TPU3, TPU9)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU3 (unit 0)
TPU9 (unit 1)
0
0
0
Internal clock: counts on PCLK/1
0
0
1
Internal clock: counts on PCLK/4
0
1
0
Internal clock: counts on PCLK/16
0
1
1
Internal clock: counts on PCLK/64
1
0
0
External clock: counts on TCLKA or TCLKE pin input
1
0
1
Internal clock: counts on PCLK/1024
1
1
0
Internal clock: counts on PCLK/256
1
1
1
Internal clock: counts on PCLK/4096
Table 15.10 Bits TPSC[2:0] (TPU4, TPU10)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU4 (unit 0)
TPU10 (unit 1)
0
0
0
Internal clock: counts on PCLK/1
0
0
1
Internal clock: counts on PCLK/4
0
1
0
Internal clock: counts on PCLK/16
0
1
1
Internal clock: counts on PCLK/64
1
0
0
External clock: counts on TCLKA or TCLKE pin input
1
0
1
External clock: counts on TCLKC or TCLKG pin input
1
1
0
Internal clock: counts on PCLK/1024
1
1
1
•
TPU4 (unit 0)
Counts on TPU5.TCNT counter overflow/underflow
•
TPU10 (unit 1)
Counts on TPU11.TCNT counter overflow/underflow
Note:
This setting is invalid when TPU4 or TPU10 is in phase counting mode.
Table 15.11 Bits TPSC[2:0] (TPU5, TPU11)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU5 (unit 0)
TPU11 (unit 1)
0
0
0
Internal clock: counts on PCLK/1
0
0
1
Internal clock: counts on PCLK/4
0
1
0
Internal clock: counts on PCLK/16
0
1
1
Internal clock: counts on PCLK/64
1
0
0
External clock: counts on TCLKA or TCLKE pin input
1
0
1
External clock: counts on TCLKC or TCLKG pin input
1
1
0
Internal clock: counts on PCLK/256
1
1
1
External clock: counts on TCLKD pin input
Note:
This setting is invalid when TPU5 or TPU11 is in phase counting mode.