PAN1080 Peripheral API
|
Panchip series dma driver header file. More...
Go to the source code of this file.
Data Structures | |
struct | __DMAC_ChannelConfigTypeDef |
Structure with dma channel config feature. More... | |
struct | DMAC_ChannelConfigTypeDef |
Structure with dma channel detail config. More... | |
Typedefs | |
typedef struct __DMAC_ChannelConfigTypeDef | __DMAC_ChannelConfigTypeDef |
Structure with dma channel config feature. More... | |
typedef struct DMAC_ChannelConfigTypeDef | DMAC_ChannelConfigTypeDef |
Structure with dma channel detail config. More... | |
Functions | |
__STATIC_INLINE uint32_t | DMAC_IsChannelValid (DMA_T *dma, uint32_t ChIdx) |
Adjust dma channel is busy or not. More... | |
__STATIC_INLINE uint32_t | DMAC_CombinedIntStatus (DMA_T *dma, uint32_t FlgMsk) |
Adjust interrupt occured or not. More... | |
__STATIC_INLINE uint32_t | DMAC_StatusFlag (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Adjust interrupt raw flag set or not. More... | |
__STATIC_INLINE uint32_t | DMAC_IntFlag (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Adjust interrupt event occured or not after masking. More... | |
__STATIC_INLINE uint32_t | DMAC_IntFlagMsk (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Adjust interrupt mask set or not. More... | |
__STATIC_INLINE void | DMAC_ClrIntFlag (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Adjust interrupt mask cleared or not. More... | |
void | DMAC_Init (DMA_T *dma) |
Enable dma. More... | |
void | DMAC_DeInit (DMA_T *dma) |
Disable dma & mask all dma interrupt. More... | |
void | DMAC_ClrIntFlagMsk (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Clear interrupt mask to make sure intterupt enable. More... | |
void | DMAC_SetIntFlagMsk (DMA_T *dma, uint32_t ChIdx, uint32_t FlgIdx) |
Mask interrupt,interrupt is useless. More... | |
void | DMAC_SetChannelConfig (DMA_T *dma, uint32_t ChIdx, DMAC_ChannelConfigTypeDef *Config) |
Set dma channel config,include control register and config register. More... | |
void | DMAC_GetChannelConfig (DMA_T *dma, uint32_t ChIdx, DMAC_ChannelConfigTypeDef *Config) |
Get dma channel config,include control register and config register. More... | |
void | DMAC_StartChannel (DMA_T *dma, uint32_t ChIdx, void *Src, void *Dst, uint32_t Len) |
Start dma channel to transmit. More... | |
void | DMAC_StopChannel (DMA_T *dma, uint32_t ChIdx) |
Stop dma channel. More... | |
uint32_t | DMAC_AcquireChannel (DMA_T *dma) |
Acquire dma free channel. More... | |
void | DMAC_ReleaseChannel (DMA_T *dma, uint32_t ChIdx) |
Release dma channel. More... | |
Panchip series dma driver header file.