Figure 6-8: Initialization Of Dma Transfer For A/D Conversion Result - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Figure 6-8: Initialization of DMA Transfer for A/D Conversion Result

Remark:
n = 0, 1
(number of ADC channel)
x = n
(number of DMA channel)
Chapter 6 DMA Functions (DMA Controller)
Initialization of DMA transfer for
A/D conversion result of ADCn
(DMA channel 0 or 1)
no
ADCEn bit = 1?
ADCSn bit = 1?
Disable operation of A/D converter n:
ADCEn bit = 0
Set up A/D conversion scan range in the
ADMn2 register
Set up the MARx register with destination
start address within iRAM in
Specify the DMA transfer count in the
DTCRx register (1 to 256)
Clear status bit of DMA channel x:
DMASx bit = 0
Enable DMA transfer channel x:
DEx bit = 1
Enable operation of A/D converter n:
ADCEn bit = 1
End of initialization
User's Manual U16580EE3V1UD00
yes
no
yes
201

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents