R01UH0823EJ0100 Rev.1.00
Page 670 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 TPU4.TCR are set to 000b and PCLK/1 is used as the TPU4.TCNT count clock, this setting is invalid
and input capture is not generated.
Note 2. Selected by the ICSELB bit in TPU3.TMDR.
Table 25.16
TPU3.TIORH
Bits IOA[3:0]
Description
b3
b2
b1
b0
TPU3.TGRA Function
TIOCA3 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 TIOCA3 pin; input capture at rising edge
1
0
0
1
Capture input source is TIOCA3 pin; input capture at falling edge
1
0
1
x
Capture input source is TIOCA3 pin; input capture at both edges
1
1
x
x
Capture input source is TPU4 count clock; input capture at TPU4.TCNT count-up/
count-down*
Bits IOB[3:0]
Description
b7
b6
b5
b4
TPU3.TGRB Function
TIOCB3 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 TIOCB3 or TIOCA3 pin*
; input capture at rising edge
1
0
0
1
Capture input source is TIOCB3 or TIOCA3 pin*
; input capture at falling edge
1
0
1
x
Capture input source is TIOCB3 or TIOCA3 pin*
; input capture at both edges
1
1
x
x
Capture input source is TPU4 count clock; input capture at TPU4.TCNT count-up/
count-down*