STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches

MDMA data alignment. More...

Collaboration diagram for MDMA data alignment:

Macros

#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.
#define MDMA_DATAALIGN_LEFT   ((uint32_t)MDMA_CTCR_PAM_1)
 Left Aligned (padded with 0s).

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).

Definition at line 448 of file stm32h7xx_hal_mdma.h.

◆ 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.

Definition at line 443 of file stm32h7xx_hal_mdma.h.

◆ MDMA_DATAALIGN_RIGHT

#define MDMA_DATAALIGN_RIGHT   ((uint32_t)0x00000000U)

Right Aligned, padded w/ 0s (default).

Definition at line 445 of file stm32h7xx_hal_mdma.h.

◆ 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.

Definition at line 446 of file stm32h7xx_hal_mdma.h.