R01UH0823EJ0100 Rev.1.00
Page 486 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
x: Don't care
Note 1. When the MTU4.TMDR.BFB bit is set to 1 and the MTU4.TGRD register is used as a buffer register, this setting is invalid and
input capture/output compare is not generated.
x: Don't care
Note 1. When PCLK/1 is selected as the count clock for MTU1, MTU0 input capture is not generated. Do not select PCLK/1 as the count
clock for MTU1.
Table 23.17
TIORL (MTU4)
Bit 7
Bit 6
Bit 5
Bit 4
Description
IOD[3]
IOD[2]
IOD[1]
IOD[0]
MTU4.TGRD Function
MTIOC4D Pin Function
0
0
0
0
Output compare register*
Output prohibited
0
0
0
1
Initial output is low.
Low output at compare match.
0
0
1
0
Initial output is low.
High output at compare match.
0
0
1
1
Initial output is low.
Toggle output at compare match.
0
1
0
0
Output prohibited
0
1
0
1
Initial output is high.
Low output at compare match.
0
1
1
0
Initial output is high.
High output at compare match.
0
1
1
1
Initial output is high.
Toggle output at compare match.
1
x
0
0
Input capture register*
Input capture at rising edge.
1
x
0
1
Input capture at falling edge.
1
x
1
x
Input capture at both edges.
Table 23.18
TIORH (MTU0)
Bit 3
Bit 2
Bit 1
Bit 0
Description
IOA[3]
IOA[2]
IOA[1]
IOA[0]
MTU0.TGRA Function
MTIOC0A Pin Function
0
0
0
0
Output compare register
Output prohibited
0
0
0
1
Initial output is low.
Low output at compare match.
0
0
1
0
Initial output is low.
High output at compare match.
0
0
1
1
Initial output is low.
Toggle output at compare match.
0
1
0
0
Output prohibited
0
1
0
1
Initial output is high.
Low output at compare match.
0
1
1
0
Initial output is high.
High output at compare match.
0
1
1
1
Initial output is high.
Toggle output at compare match.
1
0
0
0
Input capture register
Input capture at rising edge.
1
0
0
1
Input capture at falling edge.
1
0
1
x
Input capture at both edges.
1
1
x
x
Capture input source is count clock in MTU1.
Input capture at MTU1.TCNT up-count/down-count.*