RTEMS 6.1-rc6
|
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) |
MDMA data alignment.
#define MDMA_DATAALIGN_LEFT ((uint32_t)MDMA_CTCR_PAM_1) |
Left Aligned (padded with 0s)
#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.
#define MDMA_DATAALIGN_RIGHT ((uint32_t)0x00000000U) |
Right Aligned, padded w/ 0s (default)
#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