HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 616

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 18 Multi-Function Timer Pulse Unit (MTU)
Figure 18.8 shows an example of toggle output.
In this example, TCNT has been designated as a periodic counter (with counter clearing on
compare match B), and settings have been made such that the output is toggled by both compare
match A and compare match B.
• Input Capture Function
The TCNT value can be transferred to TGR on detection of the TIOC pin input edge.
Rising edge, falling edge, or both edges can be selected as the detected edge. For channels 0 and 1,
it is also possible to specify another channel's counter input clock or compare match signal as the
input capture source.
Note: When another channel's counter input clock is used as the input capture input for channels
Rev. 4.00 Sep. 14, 2005 Page 566 of 982
REJ09B0023-0400
H'FFFF
TGRB
TGRA
H'0000
TIOCB
TIOCA
0 and 1, φ/1 should not be selected as the counter input clock used for input capture input.
Input capture will not be generated if φ/1 is selected.
TCNT value
Figure 18.8 Example of Toggle Output Operation
Counter cleared by TGRB compare match
Toggle output
Toggle output
Time

Related parts for HD6417641