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

DMAEx private macros. More...

Macros

#define IS_DMA_DMAMUX_SYNC_SIGNAL_ID(SIGNAL_ID)   ((SIGNAL_ID) <= HAL_DMAMUX1_SYNC_TIM12_TRGO)
 
#define IS_BDMA_DMAMUX_SYNC_SIGNAL_ID(SIGNAL_ID)   ((SIGNAL_ID) <= HAL_DMAMUX2_SYNC_EXTI2)
 
#define IS_DMAMUX_SYNC_REQUEST_NUMBER(REQUEST_NUMBER)   (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))
 
#define IS_DMAMUX_SYNC_POLARITY(POLARITY)
 
#define IS_DMAMUX_SYNC_STATE(SYNC)   (((SYNC) == DISABLE) || ((SYNC) == ENABLE))
 
#define IS_DMAMUX_SYNC_EVENT(EVENT)
 
#define IS_DMA_DMAMUX_REQUEST_GEN_SIGNAL_ID(SIGNAL_ID)   ((SIGNAL_ID) <= HAL_DMAMUX1_REQ_GEN_TIM12_TRGO)
 
#define IS_BDMA_DMAMUX_REQUEST_GEN_SIGNAL_ID(SIGNAL_ID)   ((SIGNAL_ID) <= HAL_DMAMUX2_REQ_GEN_BDMA_CH1_IT)
 
#define IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER(REQUEST_NUMBER)   (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))
 
#define IS_DMAMUX_REQUEST_GEN_POLARITY(POLARITY)
 

Detailed Description

DMAEx private macros.

Macro Definition Documentation

◆ IS_DMAMUX_REQUEST_GEN_POLARITY

#define IS_DMAMUX_REQUEST_GEN_POLARITY (   POLARITY)
Value:
(((POLARITY) == HAL_DMAMUX_REQ_GEN_NO_EVENT) || \
((POLARITY) == HAL_DMAMUX_REQ_GEN_RISING) || \
((POLARITY) == HAL_DMAMUX_REQ_GEN_FALLING) || \
#define HAL_DMAMUX_REQ_GEN_FALLING
Definition: stm32h7xx_hal_dma_ex.h:220
#define HAL_DMAMUX_REQ_GEN_RISING_FALLING
Definition: stm32h7xx_hal_dma_ex.h:221
#define HAL_DMAMUX_REQ_GEN_RISING
Definition: stm32h7xx_hal_dma_ex.h:219
#define HAL_DMAMUX_REQ_GEN_NO_EVENT
Definition: stm32h7xx_hal_dma_ex.h:218

◆ IS_DMAMUX_SYNC_EVENT

#define IS_DMAMUX_SYNC_EVENT (   EVENT)
Value:
(((EVENT) == DISABLE) || \
((EVENT) == ENABLE))

◆ IS_DMAMUX_SYNC_POLARITY

#define IS_DMAMUX_SYNC_POLARITY (   POLARITY)
Value:
(((POLARITY) == HAL_DMAMUX_SYNC_NO_EVENT) || \
((POLARITY) == HAL_DMAMUX_SYNC_RISING) || \
((POLARITY) == HAL_DMAMUX_SYNC_FALLING) || \
#define HAL_DMAMUX_SYNC_NO_EVENT
Definition: stm32h7xx_hal_dma_ex.h:147
#define HAL_DMAMUX_SYNC_FALLING
Definition: stm32h7xx_hal_dma_ex.h:149
#define HAL_DMAMUX_SYNC_RISING_FALLING
Definition: stm32h7xx_hal_dma_ex.h:150
#define HAL_DMAMUX_SYNC_RISING
Definition: stm32h7xx_hal_dma_ex.h:148