1.3.8.6 1.4.6.6 1.5.7.6 1.6.6.6 1.7.7.6 1.10.7.7 1.11.8.7 1.12.7.7 1.13.7.7 1.15.8.7 1.16.6.7 1.17.6.7 1.18.7.7 1.19.6.7 1.20.6.7 1.21.7.7 1.22.9.7 1.23.8.7 1.24.7.7 1.29.8.6 1.30.5.6 1.31.5.6 1.32.8.6 1.33.5.6 1.37.5.6 1.38.6.6 1.39.5.6 1.40.6.6 DMAC_ChannelDisable Function
C
void DMAC_ChannelDisable(DMAC_CHANNEL channel)
Summary
This function disables the DMA channel.
Description
The function disables the specified DMAC channel. Once disabled, the channel will ignore triggers and will not transfer data till the next time a DMAC_ChannelTransfer function is called. If there is a transfer already in progress, this will aborted. If there were multiple linked transfers assigned on the channel, the on-going transfer will be aborted and the other descriptors will be discarded.
Precondition
DMAC should have been initialized by calling DMAC_Initialize.
Parameters
Param | Description |
---|---|
DMAC_CHANNEL channel | the particular channel to be disabled |
Returns
None.
Example
DMAC_ChannelDisable (DMAC_CHANNEL_0);