RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 471 of 1006
Feb 20, 2013
Table 15.15 TPU0.TIORH, TPU6.TIORH
Bits IOA[3:0]
Description
b3 b2 b1 b0 TPUm.TGRA (m = 0, 6) Function TIOCAn Pin (n = 0, 6) 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
• TPU0
Capture input source is TPU1 count clock
Input capture at TPU1.TCNT count-up/count-down
*
1
• TPU6
Capture input source is TPU7 count clock
Input capture at TPU7.TCNT count-up/count-down
*
1
Bits IOB[3:0]
Description
b7 b6 b5 b4 TPUm.TGRB (m = 0, 6) Function TIOCBn Pin (n = 0, 6) 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
•
TPU0
Capture input source is TPU1 count clock
Input capture at TPU1.TCNT count-up/count-down
*
1
•
TPU6
Capture input source is TPU7 count clock
Input capture at TPU7.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 = 1, 7).
2. Selected by the ICSELB bit in TPUm.TMDR (m = 0, 6).
[Legend]
x: Don’t care