Renesas RX100 Series User Manual page 391

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(3) Input Capture Function
The TCNT value can be transferred to TGR on detection of the MTIOCnm pin (n = 0 to 4; m = A to D) or MTIC5m pin
(m = U, V, W) input edge.
The rising edge, falling edge, or both edges can be selected as the detection edge. For MTU0 and MTU1, another
channel's count clock or compare match signal can also be specified as the input capture source.
Note:
When another channel's count clock is used as the input capture input for MTU0 and MTU1, PCLKB/1 should not
be selected as the count clock used for input capture input. Input capture will not be generated if PCLKB/1 is
selected.
(a) Example of Input Capture Operation Setting Procedure
Figure 19.10 shows an example of the input capture operation setting procedure.
Select input capture input
<Input capture operation>
Figure 19.10
Example of Input Capture Operation Setting Procedure
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Input selection
[1]
[2]
Start count
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
[1] Designate TGR as an input capture register
by means of TIOR, and select rising edge,
falling edge, or both edges as the input
capture source and input signal edge.
[2] Set the CSTn bit in TSTRA or MTU5.TSTR to
1 to start the count operation.
Page 391 of 1041

Advertisement

Table of Contents
loading

Table of Contents