Section 22 A/D Converter
Rev. 1.00 Apr. 28, 2008 Page 736 of 994
REJ09B0452-0100
22.4.2 Scan
Mode
In scan mode, A/D conversion is performed sequentially on the specified channels (max. four
channels or eight channels). Operations are as follows.
1. When the ADST bit in ADCSR is set to 1 by software, the TPU, or the TMR, A/D conversion
starts on the first channel in the selected channel set.
2. Continuous A/D conversion on up to four channels (SCANE
=
1 and SCANS
=
0) or
continuous A/D conversion on up to eight channels (SCANE
=
1 and SCANS
=
1) can be
selected. When continuous A/D conversion on four channels is selected, A/D conversion starts
from the following channels: AN0 when CH3
=
0 and CH2
=
0, AN4 when CH3
=
0 and CH2
=
1, AN8 when CH3
=
1 and CH2
=
0, and AN12 when CH3
=
1 and CH2
=
1.
When continuous A/D conversion on eight channels is selected, A/D conversion starts from
the following channels: AN0 when CH3
=
0 and CH2
=
0 and AN8 when CH3
=
1 and CH2
=
0.
3. When A/D conversion for each channel is completed, the result is sequentially transferred to
the A/D data register corresponding to each channel.
4. When conversion of all the selected channels is completed, the ADF bit in ADCSR is set to 1.
If the ADIE bit is set to 1 at this time, an ADI interrupt is requested. Conversion from the first
channel in the channel set starts again.
5. The ADST bit is not automatically cleared to 0 so steps [2] and [3] are repeated as long as the
ADST bit remains set to 1. When the ADST bit is cleared to 0, A/D conversion stops and the
A/D converter enters wait state. After this, setting the ADST bit to 1 starts A/D conversion
from the first channel again.
6. When the ADST bit is automatically cleared on completion of the A/D conversion of all of the
selected channels with the ADSTCLR bit in ADCR set to 1, A/D conversion stops and enters
the wait state.
Содержание H8S/2100 Series
Страница 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Страница 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Страница 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Страница 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Страница 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Страница 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Страница 354: ...Section 11 16 Bit Cycle Measurement Timer TCM Rev 1 00 Apr 28 2008 Page 328 of 994 REJ09B0452 0100...
Страница 380: ...Section 12 16 Bit Duty Period Measurement Timer TDP Rev 1 00 Apr 28 2008 Page 354 of 994 REJ09B0452 0100...
Страница 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Страница 494: ...Section 15 Serial Communication Interface SCI Rev 1 00 Apr 28 2008 Page 468 of 994 REJ09B0452 0100...
Страница 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Страница 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Страница 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Страница 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Страница 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Страница 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Страница 1023: ......
Страница 1024: ...H8S 2117R Group Hardware Manual...