FR60 MB91460E Series - Microcontrollers - Fujitsu
FR60 MB91460E Series - Microcontrollers - Fujitsu
FR60 MB91460E Series - Microcontrollers - Fujitsu
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6.5. Scan Conversion<br />
The following figure shows the operation of A/D converter in Scan conversion mode<br />
AN input<br />
(1)<br />
Scan start<br />
channel<br />
selection<br />
Activation (2)<br />
(trigger)<br />
Result registers<br />
ADCD0<br />
ADCD1<br />
ADCD2<br />
ADCD3<br />
End of Scan INT<br />
PAUS<br />
(3)<br />
AN0<br />
(4)<br />
a, b, c<br />
AN1 AN2 AN3<br />
Sample hold<br />
(5)<br />
(6)<br />
(7)<br />
AN0 AN1 AN2 AN3<br />
(8)<br />
<strong>MB91460E</strong> <strong>Series</strong><br />
(1) Activation channel selection<br />
(2) A/D activation (Trigger: Software trigger/Reload timer/External trigger)<br />
(3) INT flag clear, PAUS flag clear<br />
(4) AN0 conversion<br />
a. Sample hold, conversion (conversion a + conversion b + conversion c)<br />
b. Conversion end<br />
c. Buffers the conversion value.<br />
(5) AN1 conversion<br />
(6) AN2 conversion<br />
(7) AN3 conversion<br />
(8) INT2 (End of Scan) flag is set, AN0 conversion starts<br />
(9) Because INT2 has not been cleared yet, the ADC protects the result register of AN0<br />
against overwriting and enters PAUSE state.<br />
(10)INT2 flag cleared by DMA or by software, the ADC stores the result of AN0 and continues sampling AN1.<br />
6.6. Protection of the ADC Channel Data Registers<br />
There are 32 ADC result data registers, one register per channel. The registers are written by hardware at the<br />
end of conversion of the attached channel. ADCD0 is attached to channel 0, ADCD31 is attached to channel 31.<br />
The CPU can read the data registers any time.<br />
DS705-00002-1v3-E 49<br />
(9)<br />
(10)<br />
AN0 conversion value<br />
AN1 conversion value<br />
AN2 conversion value<br />
AN3 conversion value<br />
AN0 next conversion value<br />
AN1 next value<br />
AN0<br />
AN2 next value