![]() |
PDL for FM0+
Version1.0
Peripheral Driverl Library for FM0+
|
#include "dma.h"
Go to the source code of this file.
Data Structures | |
union | un_dmac_dmaca_t |
union | un_dmac_dmacb_t |
Defines | |
#define | GET_DMA_ADDRESS(x) (FM0P_DMAC_BASE + (0x10ul * (x)) + 0x10ul) |
Functions | |
static en_result_t | Dma_Irq_Init (uint8_t u8DmaChannel) |
Init DMA interrupt IRQ. | |
static en_result_t | Dma_Irq_DeInit (uint8_t u8DmaChannel) |
De-Init DMA interrupt. | |
void | DmaIrqHandler (uint8_t u8DmaChannel) |
DMA interrupt handler. | |
en_result_t | Dma_EnableInt (uint8_t u8DmaChannel, stc_dma_int_sel_t *pstcIntSel, stc_dma_int_cb_t *pstcIntCb) |
Enable interrupt of a DMA channel. | |
en_result_t | Dma_DisableInt (uint8_t u8DmaChannel, stc_dma_int_sel_t *pstcIntSel) |
Disable interrupt of a DMA channel. | |
en_result_t | Dma_Init_Channel (uint8_t u8DmaChannel, volatile stc_dma_config_t *pstcConfig) |
Initializes a DMA channel. | |
en_result_t | Dma_DeInit_Channel (uint8_t u8DmaChannel) |
De-Initializes a DMA channel. | |
en_result_t | Dma_SetChannel (uint8_t u8DmaChannel, boolean_t bEnable, boolean_t bPause, boolean_t bSoftwareTrigger) |
Enable, disable, pause, or trigger a DMA channel via configuration. | |
en_dma_stop_cause_t | Dma_GetStopCause (uint8_t u8DmaChannel) |
Read stop cause of a DMA channel. | |
en_result_t | Dma_Enable (void) |
Enable DMA globally. | |
en_result_t | Dma_Disable (void) |
Disable DMA globally. | |
Variables | |
static stc_dma_intern_data_t | stcDmaInternData |
Store DMA internal data. |
A detailed description is available at DMA description
History:
Definition in file dma.c.