Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1635 of 1852
Nov 30, 2020
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
44.8.10 ADHSC Bit Rewriting Procedure
Before rewriting the A/D conversion select bit (ADCSR.ADHSC) from 0 to 1 or from 1 to 0, the 12-bit A/D converter
must be in the standby state. Carry out steps 1 to 3 below to modify the ADCSR.ADHSC bit. After the sleep bit
(ADHVREFCNT.ADSLP) is cleared to 0, wait for at least 1 µs and then start A/D conversion.
ADHSC Bit Rewriting Procedure:
1. Set the sleep bit (ADHVREFCNT.ADSLP) to 1.
2. Wait for at least 0.2 µs, and then modify the A/D conversion select bit (ADCSR.ADHSC).
3. Wait for at least 4.8 µs, and then clear the sleep bit (ADHVREFCNT.ADSLP) to 0.
Note: It is prohibited to set the ADHVREFCNT.ADSLP bit to 1 except for modifying the A/D conversion select bit
(ADCSR.ADHSC).