RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 474 of 1006
Feb 20, 2013
Table 15.18 TPU3.TIORH, TPU9.TIORH
Bits IOA[3:0]
Description
b3 b2 b1 b0 TPUm.TGRA (m = 3, 9) Function TIOCAn Pin (n = 3, 9) Function
0
0
0
0
Output compare register
Output disabled
0
0
0
1
Initial output is low output; low output at compare match
0
0
1
0
Initial output is low output; high output at compare match
0
0
1
1
Initial output is low output; toggle output at compare match
0
1
0
0
Output disabled
0
1
0
1
Initial output is high output; low output at compare match
0
1
1
0
Initial output is high output; high output at compare match
0
1
1
1
Initial output is high output; toggle output at compare match
1
0
0
0
Input capture register
Capture input source is TIOCAn pin; input capture at rising edge
1
0
0
1
Capture input source is TIOCAn pin; input capture at falling edge
1
0
1
x
Capture input source is TIOCAn pin; input capture at both edges
1
1
x
x
•
TPU3
Capture input source is TPU4 count clock
Input capture at TPU4.TCNT count-up/count-down
*
1
•
TPU9
Capture input source is TPU10 count clock
Input capture at TPU10.TCNT count-up/count-down
*
1
Bits IOB[3:0]
Description
b7 b6 b5 b4 TPUm.TGRB (m = 3, 9) Function TIOCBn Pin (n = 3, 9) Function
0
0
0
0
Output compare register
Output disabled
0
0
0
1
Initial output is low output; low output at compare match
0
0
1
0
Initial output is low output; high output at compare match
0
0
1
1
Initial output is low output; toggle output at compare match
0
1
0
0
Output disabled
0
1
0
1
Initial output is high output; low output at compare match
0
1
1
0
Initial output is high output; high output at compare match
0
1
1
1
Initial output is high output; toggle output at compare match
1
0
0
0
Input capture register
Capture input source is TIOCBn or TIOCAn pin
*
2
; input capture at rising edge
1
0
0
1
Capture input source is TIOCBn or TIOCAn pin
*
2
; input capture at falling edge
1
0
1
x
Capture input source is TIOCBn or TIOCAn pin
*
2
; input capture at both edges
1
1
x
x
•
TPU3
Capture input source is TPU4 count clock
Input capture at TPU4.TCNT count-up/count-down
*
1
•
TPU9
Capture input source is TPU10 count clock
Input capture at TPU10.TCNT count-up/count-down
*
1
Notes: 1.
When the TPSC[2:0] bits in TPUm.TCR are set to 000b and PCLK/1 is used as the TPUm.TCNT count clock, this setting is
invalid and input capture is not generated (m = 4, 10).
2.
Selected by the ICSELB bit in TPUm.TMDR (m = 3, 9).
[Legend] x: Don’t care