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

DMA private macros. More...

Macros

#define IS_DMA_REQUEST(REQUEST)   (((REQUEST) <= DMA_REQUEST_USART10_TX))
 
#define IS_BDMA_REQUEST(REQUEST)   (((REQUEST) <= BDMA_REQUEST_DFSDM2_FLT0))
 
#define IS_DMA_DIRECTION(DIRECTION)
 
#define IS_DMA_BUFFER_SIZE(SIZE)   (((SIZE) >= 0x01U) && ((SIZE) < 0x10000U))
 
#define IS_DMA_PERIPHERAL_INC_STATE(STATE)
 
#define IS_DMA_MEMORY_INC_STATE(STATE)
 
#define IS_DMA_PERIPHERAL_DATA_SIZE(SIZE)
 
#define IS_DMA_MEMORY_DATA_SIZE(SIZE)
 
#define IS_DMA_MODE(MODE)
 
#define IS_DMA_PRIORITY(PRIORITY)
 
#define IS_DMA_FIFO_MODE_STATE(STATE)
 
#define IS_DMA_FIFO_THRESHOLD(THRESHOLD)
 
#define IS_DMA_MEMORY_BURST(BURST)
 
#define IS_DMA_PERIPHERAL_BURST(BURST)
 

Detailed Description

DMA private macros.

Macro Definition Documentation

◆ IS_DMA_DIRECTION

#define IS_DMA_DIRECTION (   DIRECTION)
Value:
(((DIRECTION) == DMA_PERIPH_TO_MEMORY ) || \
((DIRECTION) == DMA_MEMORY_TO_PERIPH) || \
((DIRECTION) == DMA_MEMORY_TO_MEMORY))
#define DMA_MEMORY_TO_MEMORY
Definition: stm32h7xx_hal_dma.h:468
#define DMA_MEMORY_TO_PERIPH
Definition: stm32h7xx_hal_dma.h:467
#define DMA_PERIPH_TO_MEMORY
Definition: stm32h7xx_hal_dma.h:466

◆ IS_DMA_FIFO_MODE_STATE

#define IS_DMA_FIFO_MODE_STATE (   STATE)
Value:
(((STATE) == DMA_FIFOMODE_DISABLE ) || \
((STATE) == DMA_FIFOMODE_ENABLE))
#define DMA_FIFOMODE_ENABLE
Definition: stm32h7xx_hal_dma.h:552
#define DMA_FIFOMODE_DISABLE
Definition: stm32h7xx_hal_dma.h:551

◆ IS_DMA_FIFO_THRESHOLD

#define IS_DMA_FIFO_THRESHOLD (   THRESHOLD)
Value:
(((THRESHOLD) == DMA_FIFO_THRESHOLD_1QUARTERFULL ) || \
((THRESHOLD) == DMA_FIFO_THRESHOLD_HALFFULL) || \
((THRESHOLD) == DMA_FIFO_THRESHOLD_3QUARTERSFULL) || \
((THRESHOLD) == DMA_FIFO_THRESHOLD_FULL))
#define DMA_FIFO_THRESHOLD_1QUARTERFULL
Definition: stm32h7xx_hal_dma.h:562
#define DMA_FIFO_THRESHOLD_FULL
Definition: stm32h7xx_hal_dma.h:565
#define DMA_FIFO_THRESHOLD_HALFFULL
Definition: stm32h7xx_hal_dma.h:563
#define DMA_FIFO_THRESHOLD_3QUARTERSFULL
Definition: stm32h7xx_hal_dma.h:564

◆ IS_DMA_MEMORY_BURST

#define IS_DMA_MEMORY_BURST (   BURST)
Value:
(((BURST) == DMA_MBURST_SINGLE) || \
((BURST) == DMA_MBURST_INC4) || \
((BURST) == DMA_MBURST_INC8) || \
((BURST) == DMA_MBURST_INC16))

◆ IS_DMA_MEMORY_DATA_SIZE

#define IS_DMA_MEMORY_DATA_SIZE (   SIZE)
Value:
(((SIZE) == DMA_MDATAALIGN_BYTE) || \
((SIZE) == DMA_MDATAALIGN_HALFWORD) || \
((SIZE) == DMA_MDATAALIGN_WORD ))
#define DMA_MDATAALIGN_HALFWORD
Definition: stm32h7xx_hal_dma.h:513
#define DMA_MDATAALIGN_WORD
Definition: stm32h7xx_hal_dma.h:514
#define DMA_MDATAALIGN_BYTE
Definition: stm32h7xx_hal_dma.h:512

◆ IS_DMA_MEMORY_INC_STATE

#define IS_DMA_MEMORY_INC_STATE (   STATE)
Value:
(((STATE) == DMA_MINC_ENABLE) || \
((STATE) == DMA_MINC_DISABLE))
#define DMA_MINC_DISABLE
Definition: stm32h7xx_hal_dma.h:490
#define DMA_MINC_ENABLE
Definition: stm32h7xx_hal_dma.h:489

◆ IS_DMA_MODE

#define IS_DMA_MODE (   MODE)
Value:
(((MODE) == DMA_NORMAL ) || \
((MODE) == DMA_CIRCULAR) || \
((MODE) == DMA_PFCTRL) || \
((MODE) == DMA_DOUBLE_BUFFER_M0) || \
((MODE) == DMA_DOUBLE_BUFFER_M1))
#define DMA_NORMAL
Definition: stm32h7xx_hal_dma.h:524
#define DMA_DOUBLE_BUFFER_M1
Definition: stm32h7xx_hal_dma.h:528
#define DMA_CIRCULAR
Definition: stm32h7xx_hal_dma.h:525
#define DMA_PFCTRL
Definition: stm32h7xx_hal_dma.h:526
#define DMA_DOUBLE_BUFFER_M0
Definition: stm32h7xx_hal_dma.h:527

◆ IS_DMA_PERIPHERAL_BURST

#define IS_DMA_PERIPHERAL_BURST (   BURST)
Value:
(((BURST) == DMA_PBURST_SINGLE) || \
((BURST) == DMA_PBURST_INC4) || \
((BURST) == DMA_PBURST_INC8) || \
((BURST) == DMA_PBURST_INC16))

◆ IS_DMA_PERIPHERAL_DATA_SIZE

#define IS_DMA_PERIPHERAL_DATA_SIZE (   SIZE)
Value:
(((SIZE) == DMA_PDATAALIGN_BYTE) || \
((SIZE) == DMA_PDATAALIGN_HALFWORD) || \
((SIZE) == DMA_PDATAALIGN_WORD))
#define DMA_PDATAALIGN_BYTE
Definition: stm32h7xx_hal_dma.h:500
#define DMA_PDATAALIGN_WORD
Definition: stm32h7xx_hal_dma.h:502
#define DMA_PDATAALIGN_HALFWORD
Definition: stm32h7xx_hal_dma.h:501

◆ IS_DMA_PERIPHERAL_INC_STATE

#define IS_DMA_PERIPHERAL_INC_STATE (   STATE)
Value:
(((STATE) == DMA_PINC_ENABLE) || \
((STATE) == DMA_PINC_DISABLE))
#define DMA_PINC_DISABLE
Definition: stm32h7xx_hal_dma.h:479
#define DMA_PINC_ENABLE
Definition: stm32h7xx_hal_dma.h:478

◆ IS_DMA_PRIORITY

#define IS_DMA_PRIORITY (   PRIORITY)
Value:
(((PRIORITY) == DMA_PRIORITY_LOW ) || \
((PRIORITY) == DMA_PRIORITY_MEDIUM) || \
((PRIORITY) == DMA_PRIORITY_HIGH) || \
((PRIORITY) == DMA_PRIORITY_VERY_HIGH))
#define DMA_PRIORITY_LOW
Definition: stm32h7xx_hal_dma.h:538
#define DMA_PRIORITY_HIGH
Definition: stm32h7xx_hal_dma.h:540
#define DMA_PRIORITY_MEDIUM
Definition: stm32h7xx_hal_dma.h:539
#define DMA_PRIORITY_VERY_HIGH
Definition: stm32h7xx_hal_dma.h:541