R01UH0823EJ0100 Rev.1.00
Page 575 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(3) Interrupt Skipping 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
setting the TITCR 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 TBTER 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 TADCR register. For the linkage with the A/D converter
start request delaying function, refer to
section 23.3.9, A/D Converter Start Request Delaying Function
.
The TITCR register should be set while the TGIA3 and TCIV4 interrupt requests are disabled by the settings of registers
MTU3.TIER and MTU4.TIER under the conditions in which compare match never occur and TGIA3 and TGIA4
interrupt requests by compare match are never generated. Before changing the skipping count, be sure to set the
TITCR.T3AEN and TITCR.T4VEN bits to 0 to clear the skipping counter.
(a) Example of Interrupt Skipping Operation Setting Procedure
shows an example of the interrupt skipping operation setting procedure.
shows the periods
during which interrupt skipping count can be changed.
Figure 23.67
Example of Interrupt Skipping Operation Setting Procedure
Figure 23.68
Periods during which Interrupt Skipping Count Can be Changed
[1]
[2]
Interrupt skipping
Clear interrupt skipping counter
Set skipping count and
enable interrupt skipping
Interrupt skipping
[1] Set bits T3AEN and T4VEN in the TITCR register to 0 to clear the
skipping counter.
[2] Specify the interrupt skipping count within the range from 0 to 7
times in bits T3ACOR[2:0] and T4VCOR[2:0] in the TITCR register,
and enable interrupt skipping through bits T3AEN and T4VEN.
Note:
The setting of the TITCR register must be done while the
TGIA3 and TCIV4 interrupt requests are disabled by the
settings of registers MTU3.TIER and MTU4.TIER under
the condition in which compare match never occur.
Before changing the skipping count, be sure to set the
TITCR.T3AEN and TITCR.T4VEN bits to 0 to clear the
skipping counter.
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
MTU3.TCNT
MTU4.
TCNT