Macros

DMAEx private macros. More...

Collaboration diagram for DMA Private Macros:

Macros

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

Detailed Description

DMAEx private macros.

Macro Definition Documentation

◆ IS_BDMA_DMAMUX_REQUEST_GEN_SIGNAL_ID [1/2]

#define IS_BDMA_DMAMUX_REQUEST_GEN_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX2_REQ_GEN_BDMA_CH1_IT)

◆ IS_BDMA_DMAMUX_REQUEST_GEN_SIGNAL_ID [2/2]

#define IS_BDMA_DMAMUX_REQUEST_GEN_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX2_REQ_GEN_BDMA_CH1_IT)

◆ IS_BDMA_DMAMUX_SYNC_SIGNAL_ID [1/2]

#define IS_BDMA_DMAMUX_SYNC_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX2_SYNC_EXTI2)

◆ IS_BDMA_DMAMUX_SYNC_SIGNAL_ID [2/2]

#define IS_BDMA_DMAMUX_SYNC_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX2_SYNC_EXTI2)

◆ IS_DMA_CHANNEL

#define IS_DMA_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == DMA_CHANNEL_0) || \
((CHANNEL) == DMA_CHANNEL_1) || \
((CHANNEL) == DMA_CHANNEL_2) || \
((CHANNEL) == DMA_CHANNEL_3) || \
((CHANNEL) == DMA_CHANNEL_4) || \
((CHANNEL) == DMA_CHANNEL_5) || \
((CHANNEL) == DMA_CHANNEL_6) || \
((CHANNEL) == DMA_CHANNEL_7))

Definition at line 148 of file stm32f7xx_hal_dma_ex.h.

◆ IS_DMA_DMAMUX_REQUEST_GEN_SIGNAL_ID [1/2]

#define IS_DMA_DMAMUX_REQUEST_GEN_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX1_REQ_GEN_TIM12_TRGO)

◆ IS_DMA_DMAMUX_REQUEST_GEN_SIGNAL_ID [2/2]

#define IS_DMA_DMAMUX_REQUEST_GEN_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX1_REQ_GEN_TIM12_TRGO)

◆ IS_DMA_DMAMUX_SYNC_SIGNAL_ID [1/2]

#define IS_DMA_DMAMUX_SYNC_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX1_SYNC_TIM12_TRGO)

◆ IS_DMA_DMAMUX_SYNC_SIGNAL_ID [2/2]

#define IS_DMA_DMAMUX_SYNC_SIGNAL_ID (   SIGNAL_ID)    ((SIGNAL_ID) <= HAL_DMAMUX1_SYNC_TIM12_TRGO)

◆ IS_DMAMUX_REQUEST_GEN_POLARITY [1/2]

#define IS_DMAMUX_REQUEST_GEN_POLARITY (   POLARITY)

◆ IS_DMAMUX_REQUEST_GEN_POLARITY [2/2]

#define IS_DMAMUX_REQUEST_GEN_POLARITY (   POLARITY)

◆ IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER [1/2]

#define IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER (   REQUEST_NUMBER)    (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))

◆ IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER [2/2]

#define IS_DMAMUX_REQUEST_GEN_REQUEST_NUMBER (   REQUEST_NUMBER)    (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))

◆ IS_DMAMUX_SYNC_EVENT [1/2]

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

Definition at line 272 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h.

◆ IS_DMAMUX_SYNC_EVENT [2/2]

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

Definition at line 272 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h.

◆ IS_DMAMUX_SYNC_POLARITY [1/2]

#define IS_DMAMUX_SYNC_POLARITY (   POLARITY)

◆ IS_DMAMUX_SYNC_POLARITY [2/2]

#define IS_DMAMUX_SYNC_POLARITY (   POLARITY)
Value:
(((POLARITY) == HAL_DMAMUX_SYNC_NO_EVENT) || \
((POLARITY) == HAL_DMAMUX_SYNC_RISING) || \
((POLARITY) == HAL_DMAMUX_SYNC_FALLING) || \

Definition at line 265 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h.

◆ IS_DMAMUX_SYNC_REQUEST_NUMBER [1/2]

#define IS_DMAMUX_SYNC_REQUEST_NUMBER (   REQUEST_NUMBER)    (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))

◆ IS_DMAMUX_SYNC_REQUEST_NUMBER [2/2]

#define IS_DMAMUX_SYNC_REQUEST_NUMBER (   REQUEST_NUMBER)    (((REQUEST_NUMBER) > 0U) && ((REQUEST_NUMBER) <= 32U))

◆ IS_DMAMUX_SYNC_STATE [1/2]

#define IS_DMAMUX_SYNC_STATE (   SYNC)    (((SYNC) == DISABLE) || ((SYNC) == ENABLE))

◆ IS_DMAMUX_SYNC_STATE [2/2]

#define IS_DMAMUX_SYNC_STATE (   SYNC)    (((SYNC) == DISABLE) || ((SYNC) == ENABLE))
HAL_DMAMUX_SYNC_RISING
#define HAL_DMAMUX_SYNC_RISING
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:145
DMA_CHANNEL_5
#define DMA_CHANNEL_5
Definition: stm32f7xx_hal_dma_ex.h:75
DMA_CHANNEL_3
#define DMA_CHANNEL_3
Definition: stm32f7xx_hal_dma_ex.h:73
DISABLE
@ DISABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:193
DMA_CHANNEL_4
#define DMA_CHANNEL_4
Definition: stm32f7xx_hal_dma_ex.h:74
DMA_CHANNEL_1
#define DMA_CHANNEL_1
Definition: stm32f7xx_hal_dma_ex.h:71
DMA_CHANNEL_2
#define DMA_CHANNEL_2
Definition: stm32f7xx_hal_dma_ex.h:72
HAL_DMAMUX_SYNC_NO_EVENT
#define HAL_DMAMUX_SYNC_NO_EVENT
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:144
DMA_CHANNEL_0
#define DMA_CHANNEL_0
Definition: stm32f7xx_hal_dma_ex.h:70
HAL_DMAMUX_SYNC_FALLING
#define HAL_DMAMUX_SYNC_FALLING
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:146
HAL_DMAMUX_SYNC_RISING_FALLING
#define HAL_DMAMUX_SYNC_RISING_FALLING
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:147
DMA_CHANNEL_7
#define DMA_CHANNEL_7
Definition: stm32f7xx_hal_dma_ex.h:77
ENABLE
@ ENABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:194
HAL_DMAMUX_REQ_GEN_FALLING
#define HAL_DMAMUX_REQ_GEN_FALLING
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:215
DMA_CHANNEL_6
#define DMA_CHANNEL_6
Definition: stm32f7xx_hal_dma_ex.h:76
HAL_DMAMUX_REQ_GEN_NO_EVENT
#define HAL_DMAMUX_REQ_GEN_NO_EVENT
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:213
HAL_DMAMUX_REQ_GEN_RISING_FALLING
#define HAL_DMAMUX_REQ_GEN_RISING_FALLING
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:216
HAL_DMAMUX_REQ_GEN_RISING
#define HAL_DMAMUX_REQ_GEN_RISING
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma_ex.h:214


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08