R01UH0822EJ0100 Rev.1.00
Page 472 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
19.4.3
A/D Converter Trigger Sources
The A/D converter can be triggered by one of the following three methods in the MTU.
shows the
relationship between interrupt sources and A/D converter start request signals.
(1) A/D Conversion Start by TGRA Input Capture/Compare Match or at Trough of MTU4.TCNT in
Complementary PWM Mode
The A/D converter can be triggered by the occurrence of a TGRA input capture/compare match in each channel. In
addition, if complementary PWM operation is performed while the TTGE2 bit in MTU4.TIER is set to 1, the A/D
converter can be triggered at the trough of MTU4.TCNT count (MTU4.TCNT = 0000h).
A/D converter start request signal TRGAnN is issued to the A/D converter under either of the following conditions (n =
0 to 4).
When a TGRA input capture/compare match occurs on a channel while the TIER.TTGE bit is set to 1
When the MTU4.TCNT count reaches the trough (MTU4.TCNT = 0000h) during complementary PWM operation
while the TTGE2 bit in MTU4.TIER is set to 1
When either condition is satisfied, if A/D converter start signal TRGAnN from the MTU is selected as the trigger in the
A/D converter, A/D conversion will start.
(2) A/D Conversion Start by Compare Match between MTU0.TCNT and MTU0.TGRE
A/D converter start request signal TRG0N is issued to the A/D converter when a compare match occurs between
MTU0.TCNT and MTU0.TGRE.
When a compare match occurs between MTU0.TCNT and MTU0.TGRE while the TTGE2 bit in MTU0.TIER2 is set to
1, A/D converter start request TRG0N is issued to the A/D converter. If A/D converter start signal TRG0N from the
MTU is selected as the trigger in the A/D converter, A/D conversion will start.
(3) A/D Conversion Start by A/D Converter Start Request Delaying Function
The A/D converter can be triggered by generating A/D converter start request signal TRG4AN or TRG4BN when the
MTU4.TCNT count matches the MTU4.TADCORA or MTU4.TADCORB value if the UT4AE, DT4AE, UT4BE, or
DT4BE bit in the A/D converter start request control register (MTU4.TADCR) is set to 1. For details, refer to
19.3.9, A/D Converter Start Request Delaying Function
A/D conversion will start when TRG4AN is generated if A/D converter start signal TRG4AN from the MTU is selected
as the trigger in the A/D converter, when TRG4BN is generated if TRG4BN from the MTU is selected as the trigger in
the A/D converter, or when TRG4ABN is generated if TRG4ABN from the MTU is selected as the trigger in the A/D
converter.