Renesas RX100 Series User Manual page 461

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

Advertisement

RX13T Group
(5) A/D Converter Start Request Delaying Function Linked with Interrupt Skipping Function 1
In complementary PWM mode, A/D converter start requests (TRG4AN and TRG4BN) can be issued in coordination
with interrupt skipping 1 by making settings in the ITA3AE, ITA4VE, ITB3AE, and ITB4VE bits in the MTU4.TADCR
register.
Figure 19.86 shows an example of A/D converter start request signal (TRG4AN) operation when TRG4AN output is
enabled during MTU4.TCNT up-counting and down-counting and A/D converter start requests are linked with interrupt
skipping 1.
Figure 19.87 shows another example of A/D converter start request signal (TRG4AN) operation when TRG4AN output
is enabled during MTU4.TCNT up-counting and A/D converter start requests are linked with interrupt skipping 1.
In modes other than complementary PWM mode, do not use the A/D converter start request delaying function linked
with the interrupt skipping function 1.
Set the ITA3AE, ITA4VE, ITB3AE, and ITB4VE bits in the MTU4.TADCR register to 0.
Note:
This function should be used in combination with interrupt skipping 1.
When interrupt skipping is disabled (the T3AEN and T4VEN bits in the timer interrupt skipping set register
(TITCR1A) are set to 0 or the skipping count set bits (T3ACOR and T4VCOR) in TITCR1A are set to 0), make
sure that A/D converter start requests are not linked with interrupt skipping 1 (set the ITA3AE, ITA4VE, ITB3AE,
and ITB4VE bits in the timer A/D converter start request control register (MTU4.TADCR) to 0).
When this function is used, MTU4.TADCORA and MTU4.TADCORB should be set with the value ranging 0002h
to the value set in TCDRA minus 2.
MTU4.TADCORA
TGIA3 interrupt
skipping counter
TCIV4 interrupt
skipping counter
TGIA3 A/D request-
enabled period
TCIV4 A/D request-
enabled period
A/D converter start request (TRG4AN)
When linked with TGIA3 and TCIV4
interrupt skipping
When linked with TGIA3 interrupt
skipping
When linked with TCIV4 interrupt
skipping
Note:
When the interrupt skipping count is set to two.
Figure 19.86
Example of A/D Converter Start Request Signal (TRG4AN) Operation Linked with Interrupt
Skipping Function 1 (UT4AE and DT4AE = 1)
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
MTU4.
TCNT
00h
01h
00h
01h
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
02h
00h
00h
02h
(UT4AE/DT4AE = 1)
01h
01h
Page 461 of 1041

Advertisement

Table of Contents
loading

Table of Contents