Renesas RX100 Series User Manual page 389

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

Advertisement

RX13T Group
(2) Waveform Output by Compare Match
Upon compare match, low, high, or toggle output from the corresponding pin can be performed.
(a) Example of Procedure for Setting Waveform Output by Compare Match
Figure 19.7 shows an example of the procedure for setting waveform output by compare match
Enable waveform output
Select waveform output
Start count operation
<Waveform output>
Figure 19.7
Example of Procedure for Setting Waveform Output by Compare Match
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Output selection
[1]
mode
[2]
mode
[3]
Set output timing
[4]
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
[1] Enable TOERA output when outputting a waveform
from the MTIOC pin of MTU3 and MTU4.
[2] Select initial value low output or high output, and
compare match output value low output, high
output, or toggle output, by means of TIOR. The set
initial value is output at the MTIOC pin until the first
compare match occurs.
[3] Set the timing for compare match generation in
TGR.
[4] Set the CSTn bit in TSTRA to 1 to start the count
operation.
Page 389 of 1041

Advertisement

Table of Contents
loading

Table of Contents