The MCUXpresso SDK provides a peripheral driver for the Direct Memory Access Multiplexer (DMAMUX) of MCUXpresso SDK devices.
Typical use case
DMAMUX Operation
...
DMAMUX_DisableChannel(DMAMUX, channel);
void DMAMUX_Init |
( |
DMAMUX_Type * |
base | ) |
|
This function ungates the DMAMUX clock.
- Parameters
-
base | DMAMUX peripheral base address. |
void DMAMUX_Deinit |
( |
DMAMUX_Type * |
base | ) |
|
This function gates the DMAMUX clock.
- Parameters
-
base | DMAMUX peripheral base address. |
static void DMAMUX_EnableChannel |
( |
DMAMUX_Type * |
base, |
|
|
uint32_t |
channel |
|
) |
| |
|
inlinestatic |
This function enables the DMAMUX channel.
- Parameters
-
base | DMAMUX peripheral base address. |
channel | DMAMUX channel number. |
static void DMAMUX_DisableChannel |
( |
DMAMUX_Type * |
base, |
|
|
uint32_t |
channel |
|
) |
| |
|
inlinestatic |
This function disables the DMAMUX channel.
- Note
- The user must disable the DMAMUX channel before configuring it.
- Parameters
-
base | DMAMUX peripheral base address. |
channel | DMAMUX channel number. |
static void DMAMUX_SetSource |
( |
DMAMUX_Type * |
base, |
|
|
uint32_t |
channel, |
|
|
uint32_t |
source |
|
) |
| |
|
inlinestatic |
- Parameters
-
base | DMAMUX peripheral base address. |
channel | DMAMUX channel number. |
source | Channel source, which is used to trigger the DMA transfer. |
static void DMAMUX_EnablePeriodTrigger |
( |
DMAMUX_Type * |
base, |
|
|
uint32_t |
channel |
|
) |
| |
|
inlinestatic |
This function enables the DMAMUX period trigger feature.
- Parameters
-
base | DMAMUX peripheral base address. |
channel | DMAMUX channel number. |
static void DMAMUX_DisablePeriodTrigger |
( |
DMAMUX_Type * |
base, |
|
|
uint32_t |
channel |
|
) |
| |
|
inlinestatic |
This function disables the DMAMUX period trigger.
- Parameters
-
base | DMAMUX peripheral base address. |
channel | DMAMUX channel number. |