The software can enable one or more channels at any time using the following enable sequence.
•Setup channel mode (simple or scatter gather mode).
•Set the ZDMA_CH_{DATA, DSCR}_ATTR attribute registers.
•Setup DMA mode.
°Simple mode, program the DSCR registers.
°In scatter gather mode, program the DSCR in memory and program the DSCR start address register.
•Set enable bit in the ZDMA_CH_CTRL2 register. This provides a trigger to the DMA channel.