R01UH0823EJ0100 Rev.1.00
Page 668 of 1823
Jul 31, 2019
RX23W Group
25. 16-Bit Timer Pulse Unit (TPUa)
x: Don’t care
Note 1. When the TPSC[2:0] bits in TPU1.TCR are set to 000b and PCLK/1 is used as the TPU1.TCNT count clock, this setting is invalid
and input capture is not generated.
x: Don’t care
Table 25.13
TPU0.TIOR
Bits IOB[3:0]
Description
b7
b6
b5
b4
TPU0.TGRB Function
TIOCB0 Pin Function and Related Issue
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 TIOCB0 pin; input capture at rising edge
1
0
0
1
Capture input source is TIOCB0 pin; input capture at falling edge
1
0
1
x
Capture input source is TIOCB0 pin; input capture at both edges
1
1
x
x
Capture input source is TPU1 count clock; input capture at TPU1.TCNT count-up/
count-down*
Table 25.14
TPU1.TIOR
Bits IOB[3:0]
Description
b7
b6
b5
b4
TPU1.TGRB Function
TIOCB1 Pin Function and Related Issue
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 TIOCB1 pin; input capture at rising edge
1
0
0
1
Capture input source is TIOCB1 pin; input capture at falling edge
1
0
1
x
Capture input source is TIOCB1 pin; input capture at both edges
1
1
x
x
Capture input source is TPU0.TGRC compare match/input capture; input capture at
generation of TPU0.TGRC compare match/input capture