Renesas R5S72623 Doll User Manual


  Open as PDF
of 2152
 
Section 11 Multi-Function Timer Pulse Unit 2
Page 586 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
(2) A/D Converter Activation by Compare Match between TCNT_0 and TGRE_0
The A/D converter can be activated by generating A/D converter start request signal TRG0N
when a compare match occurs between TCNT_0 and TGRE_0 in channel 0.
When the TGFE flag in TSR2_0 is set to 1 by the occurrence of a compare match between
TCNT_0 and TGRE_0 in channel 0 while the TTGE2 bit in TIER2_0 is set to 1, A/D converter
start request TGR0N is issued to the A/D converter. If A/D converter start signal TGR0N from
this module is selected as the trigger in the A/D converter, A/D conversion will start.
(3) A/D Converter Activation by A/D Converter Start Request Delaying Function
The A/D converter can be activated by generating A/D converter start request signal TRG4AN or
TRG4BN when the TCNT_4 count matches the TADCORA or TADCORB value if the UT4AE,
DT4AE, UT4BE, or DT4BE bit in the A/D converter start request control register (TADCR) is set
to 1. For details, refer to section 11.4.9, A/D Converter Start Request Delaying Function.
A/D conversion will start if A/D converter start signal TRG4AN from this module is selected as
the trigger in the A/D converter when TRG4AN is generated or if TRG4BN from this module is
selected as the trigger in the A/D converter when TRG4BN is generated.
Table 11.56 Interrupt Sources and A/D Converter Start Request Signals
Target Registers Interrupt Source
A/D Converter Start Request
Signal
TGRA_0 and TCNT_0 Input capture/compare match TRGAN
TGRA_1 and TCNT_1
TGRA_2 and TCNT_2
TGRA_3 and TCNT_3
TGRA_4 and TCNT_4
TCNT_4 TCNT_4 Trough in
complementary PWM mode
TGRE_0 and TCNT_0 Compare match TRG0N
TADCORA and TCNT_4 TRG4AN
TADCORB and TCNT_4 TRG4BN