This document consists of sections titled with Driver Overview, Data Structures, Enumerations, Functions, etc., each with an overview list and detailed documentation. It is recommended to read the Driver Overview first for it includes a comprehensive description of the peripheral, driver and driver changes. Other sections give detailed information for APIs, enums, macros, etc., for your further reference.
Enumerator |
---|
kDMAMUX_DMAChannel0 |
Dmamux dma channel 0.
|
kDMAMUX_DMAChannel1 |
Dmamux dma channel 1.
|
kDMAMUX_DMAChannel2 |
Dmamux dma channel 2.
|
kDMAMUX_DMAChannel3 |
Dmamux dma channel 3.
|
static void DMAMUX_ConnectChannelToTriggerSource |
( |
DMAMUX_Type * |
base, |
|
|
dmamux_dma_channel_t |
eChannel, |
|
|
dma_request_source_t |
eSource |
|
) |
| |
|
inlinestatic |
This function will connnect a source to the specify dma channel and enable that channel
- Parameters
-
base | DMAMUX peripheral base address. |
eChannel | DMAMUX channel index, dmamux_dma_channel_t. |
eSource | DMA request source, dma_request_source_t, it is defined in SOC header file. |
static void DMAMUX_DisconnectChannelFromTriggerSource |
( |
DMAMUX_Type * |
base, |
|
|
dmamux_dma_channel_t |
eChannel |
|
) |
| |
|
inlinestatic |
This function will disable the specified channel and reset the channel source.
- Parameters
-
base | DMAMUX peripheral base address. |