R01UH0822EJ0100 Rev.1.00
Page 452 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(3) Interrupt Skipping Function 1 in Complementary PWM Mode
Interrupts TGIA3 (at the crest) and TCIV4 (at the trough) in MTU3 and MTU4 can be skipped up to seven times by
making settings in the TITCR1A register.
Transfers from a buffer register to a temporary register or a compare register can be skipped in coordination with
interrupt skipping by making settings in the TBTERA register. For the linkage with buffer registers, refer to description
,
Buffer Transfer Control Linked with Interrupt Skipping
, below.
A/D converter start requests generated by the A/D converter start request delaying function can also be skipped in
coordination with interrupt skipping by making settings in the MTU4.TADCR register. For the linkage with the A/D
converter start request delaying function, refer to
section 19.3.9, A/D Converter Start Request Delaying Function
The TITCR1A register should be set while interrupt skipping function 1 is selected by setting the TITM bit in the timer
interrupt skipping mode register (TITMRA) to 0, TGIA3 interrupt requests are disabled by setting the MTU3.TIER
register, TCIV4 interrupt requests are disabled by setting the MTU4.TIER register, and a compare match is not
generated. Before changing the skipping count, be sure to set the T3AEN and T4VENbits to 0 to clear the skipping
counter.
(a) Example of Interrupt Skipping Function 1 Setting Procedure
shows an example of the interrupt skipping function 1 setting procedure.
shows the periods
during which interrupt skipping count can be changed.
Figure 19.77
Example of Interrupt Skipping Function 1 Setting Procedure
Figure 19.78
Periods during which Interrupt Skipping Count can be Changed
Clear interrupt skipping
counter
Set interrupt skipping mode
Interrupt skipping 1
Set skipping count and
enable interrupt skipping
<Interrupt skipping>
[1]
[2]
[3]
[1] Set bits T3AEN and T4VEN in the timer interrupt skipping set register 1
(TITCR1A) to 0 to clear the skipping counter.
[2] Set bit TITM in the timer interrupt skipping mode register (TITMRA) to 0
to select interrupt skipping function 1.
[3] Specify the interrupt skipping count within the range from 0 to 7 times in
bits T3ACOR2 to T3ACOR0 and T4VCOR2 to T4VCOR0 in TITCR1A,
and enable interrupt skipping through bits T3AEN and T4VEN.
Note:
The setting of TITCR1A must be done while the TGIA3 and TCIV4
interrupt requests are disabled by the settings of MTU3.TIER and
MTU4.TIER under the conditions in which a compare match is not
generated. Before changing the skipping count, be sure to set the
T3AEN and T4VEN bits to 0 to clear the skipping counter.
MTU3.TCNT
MTU4.TCNT
MTU3.TCNT
MTU4.TCNT
TCNTSA
Period during
which skipping
count can be
changed
Period during
which skipping
count can be
changed
Period during
which skipping
count can be
changed
Period during
which skipping
count can be
changed