CHAPTER 13 A/D CONVERTERUser’s Manual U16896EJ2V0UD 38313.5.5 Setting methodThe following describes how to set registers.(1) When using the A/D converter for A/D conversion<1> Set (1) the ADM.ADCS2 bit.<2> Select the channel and conversion time by setting the ADS.ADS2 to ADS.ADS0 bits and theADM.ADHS1, ADM.ADHS0, and ADM.FR2 to ADM.FR0 bits.<3> Set (1) the ADM.ADCS bit.<4> Transfer the A/D conversion data to the ADCR register.<5> An interrupt request signal (INTAD) is generated.<6> Change the channel by setting the ADS2 to ADS0 bits.<7> Transfer the A/D conversion data to the ADCR register.<8> The INTAD signal is generated.<9> Clear (0) the ADCS bit.<10> Clear (0) the ADCS2 bit.Cautions 1. The time taken from <1> to <3> must be 1μs (high-speed mode) or 14μs (normalmode) or longer.2. Steps <1> and <2> may be reversed.3. Step <1> may be omitted. However, if omitted, do not use the first conversion resultafter <3>.4. The time taken from <4> to <7> is different from the conversion time set by the ADHS1,ADHS0, and FR2 to FR0 bits.The time taken for <6> and <7> is the conversion time set by the ADHS1, ADHS0, andFR2 to FR0 bits.