RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions
stm32h7xx_hal_dma_ex.h File Reference

Header file of DMA HAL extension module. More...

#include "stm32h7xx_hal_def.h"

Go to the source code of this file.

Data Structures

struct  HAL_DMA_MuxSyncConfigTypeDef
 HAL DMAMUX Synchronization configuration structure definition. More...
 
struct  HAL_DMA_MuxRequestGeneratorConfigTypeDef
 HAL DMAMUX request generator parameters structure definition. More...
 

Macros

#define HAL_DMAMUX1_SYNC_DMAMUX1_CH0_EVT   0U
 
#define HAL_DMAMUX1_SYNC_DMAMUX1_CH1_EVT   1U
 
#define HAL_DMAMUX1_SYNC_DMAMUX1_CH2_EVT   2U
 
#define HAL_DMAMUX1_SYNC_LPTIM1_OUT   3U
 
#define HAL_DMAMUX1_SYNC_LPTIM2_OUT   4U
 
#define HAL_DMAMUX1_SYNC_LPTIM3_OUT   5U
 
#define HAL_DMAMUX1_SYNC_EXTI0   6U
 
#define HAL_DMAMUX1_SYNC_TIM12_TRGO   7U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH0_EVT   0U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH1_EVT   1U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH2_EVT   2U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH3_EVT   3U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH4_EVT   4U
 
#define HAL_DMAMUX2_SYNC_DMAMUX2_CH5_EVT   5U
 
#define HAL_DMAMUX2_SYNC_LPUART1_RX_WKUP   6U
 
#define HAL_DMAMUX2_SYNC_LPUART1_TX_WKUP   7U
 
#define HAL_DMAMUX2_SYNC_LPTIM2_OUT   8U
 
#define HAL_DMAMUX2_SYNC_LPTIM3_OUT   9U
 
#define HAL_DMAMUX2_SYNC_I2C4_WKUP   10U
 
#define HAL_DMAMUX2_SYNC_SPI6_WKUP   11U
 
#define HAL_DMAMUX2_SYNC_COMP1_OUT   12U
 
#define HAL_DMAMUX2_SYNC_RTC_WKUP   13U
 
#define HAL_DMAMUX2_SYNC_EXTI0   14U
 
#define HAL_DMAMUX2_SYNC_EXTI2   15U
 
#define HAL_DMAMUX_SYNC_NO_EVENT   0x00000000U
 
#define HAL_DMAMUX_SYNC_RISING   DMAMUX_CxCR_SPOL_0
 
#define HAL_DMAMUX_SYNC_FALLING   DMAMUX_CxCR_SPOL_1
 
#define HAL_DMAMUX_SYNC_RISING_FALLING   DMAMUX_CxCR_SPOL
 
#define HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH0_EVT   0U
 
#define HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH1_EVT   1U
 
#define HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH2_EVT   2U
 
#define HAL_DMAMUX1_REQ_GEN_LPTIM1_OUT   3U
 
#define HAL_DMAMUX1_REQ_GEN_LPTIM2_OUT   4U
 
#define HAL_DMAMUX1_REQ_GEN_LPTIM3_OUT   5U
 
#define HAL_DMAMUX1_REQ_GEN_EXTI0   6U
 
#define HAL_DMAMUX1_REQ_GEN_TIM12_TRGO   7U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH0_EVT   0U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH1_EVT   1U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH2_EVT   2U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH3_EVT   3U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH4_EVT   4U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH5_EVT   5U
 
#define HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH6_EVT   6U
 
#define HAL_DMAMUX2_REQ_GEN_LPUART1_RX_WKUP   7U
 
#define HAL_DMAMUX2_REQ_GEN_LPUART1_TX_WKUP   8U
 
#define HAL_DMAMUX2_REQ_GEN_LPTIM2_WKUP   9U
 
#define HAL_DMAMUX2_REQ_GEN_LPTIM2_OUT   10U
 
#define HAL_DMAMUX2_REQ_GEN_LPTIM3_WKUP   11U
 
#define HAL_DMAMUX2_REQ_GEN_LPTIM3_OUT   12U
 
#define HAL_DMAMUX2_REQ_GEN_I2C4_WKUP   15U
 
#define HAL_DMAMUX2_REQ_GEN_SPI6_WKUP   16U
 
#define HAL_DMAMUX2_REQ_GEN_COMP1_OUT   17U
 
#define HAL_DMAMUX2_REQ_GEN_COMP2_OUT   18U
 
#define HAL_DMAMUX2_REQ_GEN_RTC_WKUP   19U
 
#define HAL_DMAMUX2_REQ_GEN_EXTI0   20U
 
#define HAL_DMAMUX2_REQ_GEN_EXTI2   21U
 
#define HAL_DMAMUX2_REQ_GEN_I2C4_IT_EVT   22U
 
#define HAL_DMAMUX2_REQ_GEN_SPI6_IT   23U
 
#define HAL_DMAMUX2_REQ_GEN_LPUART1_TX_IT   24U
 
#define HAL_DMAMUX2_REQ_GEN_LPUART1_RX_IT   25U
 
#define HAL_DMAMUX2_REQ_GEN_BDMA_CH0_IT   28U
 
#define HAL_DMAMUX2_REQ_GEN_BDMA_CH1_IT   29U
 
#define HAL_DMAMUX_REQ_GEN_NO_EVENT   0x00000000U
 
#define HAL_DMAMUX_REQ_GEN_RISING   DMAMUX_RGxCR_GPOL_0
 
#define HAL_DMAMUX_REQ_GEN_FALLING   DMAMUX_RGxCR_GPOL_1
 
#define HAL_DMAMUX_REQ_GEN_RISING_FALLING   DMAMUX_RGxCR_GPOL
 
#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)
 

Enumerations

enum  HAL_DMA_MemoryTypeDef { MEMORY0 = 0x00U , MEMORY1 = 0x01U }
 HAL DMA Memory definition. More...
 

Functions

HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength)
 
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength)
 
HAL_StatusTypeDef HAL_DMAEx_ChangeMemory (DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory)
 
HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync (DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig)
 
HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator (DMA_HandleTypeDef *hdma, HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig)
 
HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator (DMA_HandleTypeDef *hdma)
 
HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator (DMA_HandleTypeDef *hdma)
 
void HAL_DMAEx_MUX_IRQHandler (DMA_HandleTypeDef *hdma)
 

Detailed Description

Header file of DMA HAL extension module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.