
SH7080 Group
A/D Conversion in Single-cycle Scan Mode
REJ06B0699-0100/Rev.1.00 January 2008 Page 9 of 19
Table 3 Processing
Software processing Hardware processing
(1)
ADCSR_0 and ADCR_0 are used to select
the mode, channel, clock, etc.
(2) Setting the ADST bit of ADCR_0 to 1. Starting A/D conversion on input channel AN0.
(3) Sampling the analog inputs and performing conversion.
(4)
After conversion storing converted data in registers
from ADDR0 to ADDR3.
(5) Setting the ADF bit of ADCSR_0 to 1.
(6) Clearing the ADST bit to 0.
(7) Clearing the ADF bit of ADCSR_0 to 0.
(8)
Storing data from the registers ADDR0 to
ADDR3 in the RAM.
(9)
Repeating steps (2) to (8) (to perform A/D
conversion a second time).
Repeating steps (2) to (8) (to perform A/D conversion a
second time).
(10)
Repeating steps (2) to (8) (to perform A/D
conversion a third time).
Repeats steps (2) to (8) (to perform A/D conversion a
third time).
Kommentare zu diesen Handbüchern