39.6.2.3 Disabling a DMA Channel
Follow the steps below to disable a DMA channel:
- Clearing the DFETCH bit in the DSCR.CHXCTRL field of the DSCR structure disables the channel at the end of the frame.
- Setting the DSCR.CHXNEXT field of the DSCR structure disables the channel at the end of the frame.
- Writing one to the CHDIS field of the CHXCHDR register disables the channel at the end of the frame.
- Writing one to the CHRST field of the CHXCHDR register disables the channel immediately. This may occur in the middle of the image.
- Polling CHSR field in the CHXCHSR register until the channel is successfully disabled.