8.4.1 Module Initialization
Before the µDMA controller can be used, it must be enabled in the System Control block and in the peripheral. The location of the channel control structure must also be programmed.
The following steps should be performed one time during system initialization:
- Enable the µDMA clock using the RCGCDMA register (see Section 4.2.88).
- Enable the µDMA controller by setting the MASTEREN bit of the DMA Configuration (DMACFG) register.
- Program the location of the channel control table by writing the base address of the table to the DMA Channel Control Base Pointer (DMACTLBASE) register. The base address must be aligned on a 1024-byte boundary.