Modules |
| DMAC Definitions |
| XDMAC Functions |
Defines |
#define | XDMA_GET_DATASIZE(size) |
#define | XDMA_GET_CC_SAM(s) |
#define | XDMA_GET_CC_DAM(d) |
#define | XDMA_GET_CC_MEMSET(m) |
Detailed Description
Usage
-
Enable or disable the a DMAC controller with DMAC_Enable() and or DMAC_Disable().
-
Enable or disable Dma interrupt using DMAC_EnableIt()or DMAC_DisableIt().
-
Get Dma interrupt status by DMAC_GetStatus() and DMAC_GetInterruptMask().
-
Enable or disable specified Dma channel with DMAC_EnableChannel() or DMAC_DisableChannel().
-
Get Dma channel status by DMAC_GetChannelStatus().
-
ControlA and ControlB register is set by DMAC_SetControlA() and DMAC_SetControlB().
-
Configure source and/or destination start address with DMAC_SetSourceAddr() and/or DMAC_SetDestinationAddr().
-
Set Dma descriptor address using DMAC_SetDescriptorAddr().
-
Set source transfer buffer size with DMAC_SetBufferSize().
-
Configure source and/or destination Picture-In-Picuture mode with DMAC_SetSourcePip() and/or DMAC_SetDestPip().
For more accurate information, please look at the DMAC section of the Datasheet.
- See also:
- Dmad_module
Related files :
dmac::c
dmac::h.
Define Documentation
#define XDMA_GET_CC_DAM |
( |
|
d |
) |
|
#define XDMA_GET_CC_MEMSET |
( |
|
m |
) |
|
#define XDMA_GET_CC_SAM |
( |
|
s |
) |
|
#define XDMA_GET_DATASIZE |
( |
|
size |
) |
|
Value:
Definition at line 97 of file xdmac.h.