Rev. 1.0, 09/02, page 437 of 568
17.4.4
External Trigger Input Timing
A/D conversion can be externally triggered. When bits TRGS0 and TRGS1 in ADCR are set to
11, an external trigger is input on the
ADTRG
pin. At the falling edge of the
ADTRG
pin, the
ADST bit in ADCSR is set to 1, and the A/D conversion starts. Other operations are the same as
when the ADST bit has been set to 1 by software in both single and scan modes. Figure 17.3
shows the timing.
φ
Internal trigger signal
ADST
A/D conversion
Figure 17.3 External Trigger Input Timing
17.5 Interrupt
Source
When A/D conversion is completed, the A/D converter generates an A/D conversion end interrupt
(ADI). The ADI interrupt request is enabled when the ADIE bit is set to 1 while the ADF bit in
ADCSR is set to 1 after A/D conversion is completed. The DTC can be activated by an ADI
interrupt. Having the converted data read by the DTC in response to an ADI interrupt enables
continuous conversion without imposing a load on software.
Table 17.5 A/D Converter Interrupt Source
Name
Interrupt Source
Interrupt Source Flag
DTC Activation
ADI
A/D conversion completed
ADF
Possible
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...