RTEMS  5.0.0
Modules | Macros

Modules

 DMAC Definitions
 
 Dmac_functions
 

Macros

#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

For more accurate information, please look at the DMAC section of the Datasheet.

See also
Dmad_module

Related files :
dmac.c
dmac.h.

Macro Definition Documentation

◆ XDMA_GET_CC_DAM

#define XDMA_GET_CC_DAM (   d)
Value:
((d==2)? XDMAC_CC_DAM_UBS_AM : \
#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:
((s==2)? XDMAC_CC_SAM_UBS_AM : \
#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