Renesas RX100 Series User Manual page 463

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

Advertisement

RX13T Group
(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
Figure 19.88 shows an example of procedure for setting interrupt skipping function 2.
Set A/D converter start request
Set interrupt skipping mode
<Interrupt skipping 2>
Figure 19.88
Example of Procedure for Setting Interrupt Skipping Function 2
(b) Example of Interrupt Skipping Function 2 Operation
Figure 19.89 shows an example of interrupt skipping function 2 operation.
MTU4.TADCORA
MTU4.TADCORB
TRG4AN
TRG4BN
Signal obtained by ORing
TRG4AN and
TRG4BN
TRG4COR[2:0]
TITCNT2A
A/D converter start request
(Signal name: TRG4ABN)
Figure 19.89
Example of Interrupt Skipping Function 2 Operation (Skipping Count is Set to Four)
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Interrupt skipping 2
[1]
delaying function
[2]
Set skipping count
[3]
4
3
2
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
[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
1
0
4
3
2
1
0
4
3
2
1
0
Page 463 of 1041

Advertisement

Table of Contents
loading

Table of Contents