Section 9 Multi-Function Timer Pulse Unit 2 (MTU2)
Rev. 3.00 Sep. 27, 2007 Page 319 of 758
REJ09B0243-0300
9.5.2
A/D Converter Activation
The A/D converter can be activated by one of the following three methods in the MTU2. Table
9.58 shows the relationship between interrupt sources and A/D converter start request signals.
A/D Converter Activation by TGRA Input Capture/Compare Match or at TCNT_4 Trough
in Complementary PWM Mode:
The A/D converter can be activated 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 TIER_4 is set to 1, the A/D converter can be
activated at the trough of TCNT_4 count (TCNT_4 = H'0000).
A/D converter start request signal TRGAN is issued to the A/D converter under either one of the
following conditions.
•
When the TGFA flag in TSR is set to 1 by the occurrence of a TGRA input capture/compare
match on a particular channel while the TTGE bit in TIER is set to 1
•
When the TCNT_4 count reaches the trough (TCNT_4 = H'0000) during complementary
PWM operation while the TTGE2 bit in TIER_4 is set to 1
When either condition is satisfied, if A/D converter start signal TRGAN from the MTU2 is
selected as the trigger in the A/D converter, A/D conversion will start.
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 the
MTU2 is selected as the trigger in the A/D converter, A/D conversion will start.
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 TAD4AE or
TAD4BE bit in the A/D converter start request control register (TADCR) is set to 1. For details,
refer to section 9.4.9, A/D Converter Start Request Delaying Function.
A/D conversion will start if A/D converter start signal TRG4AN from the MTU2 is selected as the
trigger in the A/D converter when TRG4AN is generated or if TRG4BN from the MTU2 is
selected as the trigger in the A/D converter when TRG4BN is generated.
Содержание SH7124 R5F7124
Страница 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Страница 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Страница 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Страница 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Страница 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Страница 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Страница 400: ...Section 9 Multi Function Timer Pulse Unit 2 MTU2 Rev 3 00 Sep 27 2007 Page 380 of 758 REJ09B0243 0300 ...
Страница 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Страница 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Страница 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Страница 781: ......
Страница 782: ...SH7125 Group SH7124 Group Hardware Manual ...