R01UH0822EJ0100 Rev.1.00
Page 463 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(6) A/D Converter Start Request Delaying Function Linked with Interrupt Skipping Function 2
By setting the TITM bit to 1 in the TITMRA register, the counter starts down-counting from the value (0 to 7) set in the
TRG4COR[2:0] bits in TITCR2A register every time an A/D converter start trigger (TRG4AN or TRG4BN) is
generated. When the counter value reaches 0 and is reloaded, the TRG4AN and TRG4BN interrupts become valid and an
A/D converter start request signal (TRG4ABN) is output.
This function is valid only when the A/D converter request delaying function is enabled.
(a) Example of Procedure for Setting Interrupt Skipping Function 2
shows an example of procedure for setting interrupt skipping function 2.
Figure 19.88
Example of Procedure for Setting Interrupt Skipping Function 2
(b) Example of Interrupt Skipping Function 2 Operation
shows an example of interrupt skipping function 2 operation.
Figure 19.89
Example of Interrupt Skipping Function 2 Operation (Skipping Count is Set to Four)
Set interrupt skipping mode
Interrupt skipping 2
Set skipping count
<Interrupt skipping 2>
[1]
Set A/D converter start request
delaying function
[2]
[3]
[1] Set the A/D converter start request delaying function.
For details, refer to section 19.3.9 (1), Example of
Procedure for Specifying A/D Converter Start Request
Delaying Function.
[2] Set bit TITM in the TITMRA register to 1 to select interrupt
skipping function 2.
[3] Specify the interrupt skipping count within the range from 0
to 7 times in bits TRG4COR[2:0] in TITCR2A register.
100b
0
1
2
3
4
0
1
2
3
4
0
1
2
3
4
MTU4.TADCORA
MTU4.TADCORB
TRG4AN
TRG4BN
Signal obtained by ORing
TRG4AN and
TRG4BN
A/D converter start request
(Signal name: TRG4ABN)
TRG4COR[2:0]
TITCNT2A