RTEMS 6.1-rc4
Loading...
Searching...
No Matches
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==0)? XDMAC_CC_DAM_FIXED_AM : \
((d==1)? XDMAC_CC_DAM_INCREMENTED_AM : \
((d==2)? XDMAC_CC_DAM_UBS_AM : \
XDMAC_CC_DAM_UBS_DS_AM)))

◆ XDMA_GET_CC_MEMSET

#define XDMA_GET_CC_MEMSET (   m)
Value:
((m==0)? XDMAC_CC_MEMSET_NORMAL_MODE : \
XDMAC_CC_MEMSET_HW_MODE)

◆ XDMA_GET_CC_SAM

#define XDMA_GET_CC_SAM (   s)
Value:
((s==0)? XDMAC_CC_SAM_FIXED_AM : \
((s==1)? XDMAC_CC_SAM_INCREMENTED_AM : \
((s==2)? XDMAC_CC_SAM_UBS_AM : \
XDMAC_CC_SAM_UBS_DS_AM)))

◆ XDMA_GET_DATASIZE

#define XDMA_GET_DATASIZE (   size)
Value:
((size==0)? XDMAC_CC_DWIDTH_BYTE : \
((size==1)? XDMAC_CC_DWIDTH_HALFWORD : \
(XDMAC_CC_DWIDTH_WORD)))