Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dmamux
DMAMUX Initialization and de-initialization | |
| void | DMAMUX_Init (DMAMUX_Type *base) |
| Initializes the DMAMUX peripheral. | |
| void | DMAMUX_Deinit (DMAMUX_Type *base) |
| Deinitializes the DMAMUX peripheral. | |
DMAMUX Channel Operation | |
| static void | DMAMUX_EnableChannel (DMAMUX_Type *base, uint32_t channel) |
| Enables the DMAMUX channel. | |
| static void | DMAMUX_DisableChannel (DMAMUX_Type *base, uint32_t channel) |
| Disables the DMAMUX channel. | |
| static void | DMAMUX_SetSource (DMAMUX_Type *base, uint32_t channel, uint32_t source) |
| Configures the DMAMUX channel source. | |
| static void | DMAMUX_EnablePeriodTrigger (DMAMUX_Type *base, uint32_t channel) |
| Enables the DMAMUX period trigger. | |
| static void | DMAMUX_DisablePeriodTrigger (DMAMUX_Type *base, uint32_t channel) |
| Disables the DMAMUX period trigger. | |
| static void | DMAMUX_EnableAlwaysOn (DMAMUX_Type *base, uint32_t channel, bool enable) |
| Enables the DMA channel to be always ON. | |
Function Documentation
| void DMAMUX_Deinit | ( | DMAMUX_Type * | base ) |
Deinitializes the DMAMUX peripheral.
This function gates the DMAMUX clock.
- Parameters:
-
base DMAMUX peripheral base address.
brief Deinitializes the DMAMUX peripheral.
This function gates the DMAMUX clock.
param base DMAMUX peripheral base address.
Definition at line 87 of file fsl_dmamux.c.
| static void DMAMUX_DisableChannel | ( | DMAMUX_Type * | base, |
| uint32_t | channel | ||
| ) | [static] |
Disables the DMAMUX channel.
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.
Definition at line 92 of file fsl_dmamux.h.
| static void DMAMUX_DisablePeriodTrigger | ( | DMAMUX_Type * | base, |
| uint32_t | channel | ||
| ) | [static] |
Disables the DMAMUX period trigger.
This function disables the DMAMUX period trigger.
- Parameters:
-
base DMAMUX peripheral base address. channel DMAMUX channel number.
Definition at line 137 of file fsl_dmamux.h.
| static void DMAMUX_EnableAlwaysOn | ( | DMAMUX_Type * | base, |
| uint32_t | channel, | ||
| bool | enable | ||
| ) | [static] |
Enables the DMA channel to be always ON.
This function enables the DMAMUX channel always ON feature.
- Parameters:
-
base DMAMUX peripheral base address. channel DMAMUX channel number. enable Switcher of the always ON feature. "true" means enabled, "false" means disabled.
Definition at line 155 of file fsl_dmamux.h.
| static void DMAMUX_EnableChannel | ( | DMAMUX_Type * | base, |
| uint32_t | channel | ||
| ) | [static] |
Enables the DMAMUX channel.
This function enables the DMAMUX channel.
- Parameters:
-
base DMAMUX peripheral base address. channel DMAMUX channel number.
Definition at line 76 of file fsl_dmamux.h.
| static void DMAMUX_EnablePeriodTrigger | ( | DMAMUX_Type * | base, |
| uint32_t | channel | ||
| ) | [static] |
Enables the DMAMUX period trigger.
This function enables the DMAMUX period trigger feature.
- Parameters:
-
base DMAMUX peripheral base address. channel DMAMUX channel number.
Definition at line 122 of file fsl_dmamux.h.
| void DMAMUX_Init | ( | DMAMUX_Type * | base ) |
Initializes the DMAMUX peripheral.
This function ungates the DMAMUX clock.
- Parameters:
-
base DMAMUX peripheral base address.
brief Initializes the DMAMUX peripheral.
This function ungates the DMAMUX clock.
param base DMAMUX peripheral base address.
Definition at line 73 of file fsl_dmamux.c.
| static void DMAMUX_SetSource | ( | DMAMUX_Type * | base, |
| uint32_t | channel, | ||
| uint32_t | source | ||
| ) | [static] |
Configures the DMAMUX channel source.
- Parameters:
-
base DMAMUX peripheral base address. channel DMAMUX channel number. source Channel source, which is used to trigger the DMA transfer.
Definition at line 106 of file fsl_dmamux.h.
Generated on Tue Jul 12 2022 15:37:33 by
1.7.2