English
Language : 

Z8F6421PM020SC Datasheet, PDF (183/299 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers Z8 Encore-R 64K Series
Z8 Encore!® 64K Series
Product Specification
163
If the current ADC Analog Input is not the highest numbered input to be converted,
DMA_ADC initiates data conversion in the next higher numbered ADC Analog Input.
Configuring DMA_ADC for Data Transfer
Follow these steps to configure and enable DMA_ADC:
1. Write the DMA_ADC Address register with the 7 most-significant bits of the Register
File address for data transfers.
2. Write to the DMA_ADC Control register to complete the following:
– Enable the DMA_ADC interrupt request, if desired
– Select the number of ADC Analog Inputs to convert
– Enable the DMA_ADC channel
Caution:
When using the DMA_ADC to perform conversions on multiple ADC in-
puts, the Analog-to-Digital Converter must be configured for SINGLE-
SHOT mode. If the ADC_IN field in the DMA_ADC Control Register is
greater than 000b, the ADC must be in SINGLE-SHOT mode.
CONTINUOUS mode operation of the ADC can only be used in conjunc-
tion with DMA_ADC if the ADC_IN field in the DMA_ADC Control
Register is reset to 000b to enable conversion on ADC Analog Input 0
only.
DMA Control Register Definitions
DMAx Control Register
The DMAx Control register (Table 76) enables and selects the mode of operation for
DMAx.
PS019915-1005
Direct Memory Access Controller