RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros

MDMA data alignment. More...

Macros

#define MDMA_DATAALIGN_PACKENABLE   ((uint32_t)MDMA_CTCR_PKE)
 
#define MDMA_DATAALIGN_RIGHT   ((uint32_t)0x00000000U)
 
#define MDMA_DATAALIGN_RIGHT_SIGNED   ((uint32_t)MDMA_CTCR_PAM_0)
 
#define MDMA_DATAALIGN_LEFT   ((uint32_t)MDMA_CTCR_PAM_1)
 

Detailed Description

MDMA data alignment.

Macro Definition Documentation

◆ MDMA_DATAALIGN_LEFT

#define MDMA_DATAALIGN_LEFT   ((uint32_t)MDMA_CTCR_PAM_1)

Left Aligned (padded with 0s)

◆ MDMA_DATAALIGN_PACKENABLE

#define MDMA_DATAALIGN_PACKENABLE   ((uint32_t)MDMA_CTCR_PKE)

The source data is packed/un-packed into the destination data size All data are right aligned, in Little Endien mode.

◆ MDMA_DATAALIGN_RIGHT

#define MDMA_DATAALIGN_RIGHT   ((uint32_t)0x00000000U)

Right Aligned, padded w/ 0s (default)

◆ MDMA_DATAALIGN_RIGHT_SIGNED

#define MDMA_DATAALIGN_RIGHT_SIGNED   ((uint32_t)MDMA_CTCR_PAM_0)

Right Aligned, Sign extended , Note : this mode is allowed only if the Source data size is smaller than Destination data size