|
#define | XDMA_GET_DATASIZE(size) |
|
#define | XDMA_GET_CC_SAM(s) |
|
#define | XDMA_GET_CC_DAM(d) |
|
#define | XDMA_GET_CC_MEMSET(m) |
|
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.
◆ XDMA_GET_CC_DAM
#define XDMA_GET_CC_DAM |
( |
|
d | ) |
|
Value:#define XDMAC_CC_DAM_UBS_DS_AM
(XDMAC_CC) The microblock stride is added at the microblock boundary, the data stride is added at the...
Definition: component_xdmac.h:584
#define XDMAC_CC_DAM_FIXED_AM
(XDMAC_CC) The address remains unchanged.
Definition: component_xdmac.h:581
#define XDMAC_CC_DAM_INCREMENTED_AM
(XDMAC_CC) The addressing mode is incremented (the increment size is set to the data size).
Definition: component_xdmac.h:582
#define XDMAC_CC_DAM_UBS_AM
(XDMAC_CC) The microblock stride is added at the microblock boundary.
Definition: component_xdmac.h:583
◆ XDMA_GET_CC_MEMSET
#define XDMA_GET_CC_MEMSET |
( |
|
m | ) |
|
Value:#define XDMAC_CC_MEMSET_NORMAL_MODE
(XDMAC_CC) Memset is not activated.
Definition: component_xdmac.h:549
#define XDMAC_CC_MEMSET_HW_MODE
(XDMAC_CC) Sets the block of memory pointed by DA field to the specified value. This operation is per...
Definition: component_xdmac.h:550
◆ XDMA_GET_CC_SAM
#define XDMA_GET_CC_SAM |
( |
|
s | ) |
|
Value:#define XDMAC_CC_SAM_UBS_DS_AM
(XDMAC_CC) The microblock stride is added at the microblock boundary, the data stride is added at the...
Definition: component_xdmac.h:577
#define XDMAC_CC_SAM_FIXED_AM
(XDMAC_CC) The address remains unchanged.
Definition: component_xdmac.h:574
#define XDMAC_CC_SAM_UBS_AM
(XDMAC_CC) The microblock stride is added at the microblock boundary.
Definition: component_xdmac.h:576
#define XDMAC_CC_SAM_INCREMENTED_AM
(XDMAC_CC) The addressing mode is incremented (the increment size is set to the data size).
Definition: component_xdmac.h:575
◆ XDMA_GET_DATASIZE
#define XDMA_GET_DATASIZE |
( |
|
size | ) |
|
Value:#define XDMAC_CC_DWIDTH_WORD
(XDMAC_CC) The data size is set to 32 bits
Definition: component_xdmac.h:564
#define XDMAC_CC_DWIDTH_HALFWORD
(XDMAC_CC) The data size is set to 16 bits
Definition: component_xdmac.h:563
unsigned size
Definition: tte.h:74
#define XDMAC_CC_DWIDTH_BYTE
(XDMAC_CC) The data size is set to 8 bits
Definition: component_xdmac.h:562