Section 23
A/D Converter
Rev. 1.00 Mar. 12, 2008 Page 903 of 1178
REJ09B0403-0100
ADIE
ADST
ADF
Set
*
Set
*
Set
*
A/D conversion
starts
Clear
*
Clear
*
State of channel 0
(AN0)
State of channel 1
(AN1)
State of channel 2
(AN2)
State of channel 3
(AN3)
Idle
Idle
Idle
Idle
Idle
Idle
A/D conversion 1
A/D conversion 2
Read the result of conversion
Result of A/D conversion 1
Result of A/D conversion 2
Read the result of conversion
Note :
*
indicates execution of a software instruction.
ADDRA
ADDRB
ADDRC
ADDRD
Figure 23.2 Example of A/D Converter Operation
(When Channel 1 is Selected in Single Mode)
23.4.2 Scan
Mode
In scan mode, A/D conversion is performed sequentially on the specified channels (four channels
or eight channel maximum). Operations are as follows.
1. When the ADST bit in ADCSR is set to 1 by software or by the input of trigger signal, A/D
conversion starts from the first channel of the selected channel. Consecutive A/D conversion of
either four channels maximum (SCANE and SCANS = B'10) or eight channels maximum
(SCANE and SCANS = B'11) can be selected. In the case of consecutive A/D conversion on
four channels, the operation starts from AN0 when CH2 = B'0, and starts from AN4 when CH2
= B'1. In the case of consecutive A/D conversion on eight channels, the operation starts from
AN0.
2. When A/D conversion for each channel is completed, the result is sequentially transferred to
the A/D data register corresponding to each channel.
3. 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 after A/D conversion ends.
Conversion of the first channel in the group starts again.
Summary of Contents for H8S Family
Page 2: ...Rev 1 00 Mar 12 2008 Page ii of xIviii...
Page 8: ...Rev 1 00 Mar 12 2008 Page viii of xIviii...
Page 28: ...Rev 1 00 Mar 12 2008 Page xxviii of xIviii...
Page 48: ...Rev 1 00 Mar 12 2008 Page xlviii of xIviii...
Page 70: ...Section 1 Overview Rev 1 00 Mar 12 2008 Page 22 of 1178 REJ09B0403 0100...
Page 108: ...Section 2 CPU Rev 1 00 Mar 12 2008 Page 60 of 1178 REJ09B0403 0100...
Page 116: ...Section 3 MCU Operating Modes Rev 1 00 Mar 12 2008 Page 68 of 1178 REJ09B0403 0100...
Page 152: ...Section 5 Interrupt Controller Rev 1 00 Mar 12 2008 Page 104 of 1178 REJ09B0403 0100...
Page 206: ...Section 6 Bus Controller BSC Rev 1 00 Mar 12 2008 Page 158 of 1178 REJ09B0403 0100...
Page 420: ...Section 9 14 Bit PWM Timer PWMX Rev 1 00 Mar 12 2008 Page 372 of 1178 REJ09B0403 0100...
Page 476: ...Section 12 Watchdog Timer WDT Rev 1 00 Mar 12 2008 Page 428 of 1178 REJ09B0403 0100...
Page 552: ...Section 14 CRC Operation Circuit CRC Rev 1 00 Mar 12 2008 Page 504 of 1178 REJ09B0403 0100...
Page 712: ...Section 18 I2 C Bus Interface IIC Rev 1 00 Mar 12 2008 Page 664 of 1178 REJ09B0403 0100...
Page 804: ...Section 19 LPC Interface LPC Rev 1 00 Mar 12 2008 Page 756 of 1178 REJ09B0403 0100...
Page 838: ...Section 20 Ethernet Controller EtherC Rev 1 00 Mar 12 2008 Page 790 of 1178 REJ09B0403 0100...
Page 964: ...Section 24 RAM Rev 1 00 Mar 12 2008 Page 916 of 1178 REJ09B0403 0100...
Page 1066: ...Section 25 Flash Memory Rev 1 00 Mar 12 2008 Page 1018 of 1178 REJ09B0403 0100...
Page 1098: ...Section 26 Boundary Scan JTAG Rev 1 00 Mar 12 2008 Page 1050 of 1178 REJ09B0403 0100...
Page 1226: ...Rev 1 00 Mar 12 2008 Page 1178 of 1178 REJ09B0403 0100...
Page 1229: ......
Page 1230: ...H8S 2472 Group H8S 2462 Group Hardware Manual...