RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 464 of 1006
Feb 20, 2013
Table 15.6 Bits TPSC[2:0] (TPU0, TPU6)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU0 (unit 0)
TPU6 (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 TCLKB or TCLKF pin input
1
1
0
External clock: counts on TCLKC or TCLKG pin input
1
1
1
External clock: counts on TCLKD or TCLKH pin input
Table 15.7 Bits TPSC[2:0] (TPU1, TPU7)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU1 (unit 0)
TPU7 (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 TCLKB or TCLKF pin input
1
1
0
Internal clock: counts on PCLK/256
1
1
1
•
TPU1 (unit 0)
Counts on TPU2.TCNT counter overflow/underflow
•
TPU7 (unit 1)
Counts on TPU8.TCNT counter overflow/underflow
Note:
This setting is invalid when TPU1 or TPU7 is in phase counting mode.
Table 15.8 Bits TPSC[2:0] (TPU2, TPU8)
Channel
Bits TPSC[2:0]
Description
b2
b1
b0
TPU2 (unit 0)
TPU8 (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 TCLKB or TCLKF pin input
1
1
0
External clock: counts on TCLKC or TCLKG pin input
1
1
1
Internal clock: counts on PCLK/1024
Note:
This setting is invalid when TPU2 or TPU8 is in phase counting mode.