STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
DMA HAL module driver. More...
Topics | |
DMA Exported Types | |
DMA Exported Types. | |
DMA Exported Constants | |
DMA Exported constants. | |
DMA Exported Functions | |
DMA Exported functions. | |
DMA Private Constants | |
DMA private defines and constants. | |
DMA Private Macros | |
DMA private macros. | |
DMA Private Functions | |
DMA private functions. | |
Data Structures | |
struct | DMA_Base_Registers |
Macros | |
#define | __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__) |
Reset DMA handle state. | |
#define | __HAL_DMA_GET_FS(__HANDLE__) |
Return the current DMA Stream FIFO filled level. | |
#define | __HAL_DMA_ENABLE(__HANDLE__) |
Enable the specified DMA Stream. | |
#define | __HAL_DMA_DISABLE(__HANDLE__) |
Disable the specified DMA Stream. | |
#define | __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) |
Return the current DMA Stream transfer complete flag. | |
#define | __HAL_DMA_GET_HT_FLAG_INDEX(__HANDLE__) |
Return the current DMA Stream half transfer complete flag. | |
#define | __HAL_DMA_GET_TE_FLAG_INDEX(__HANDLE__) |
Return the current DMA Stream transfer error flag. | |
#define | __HAL_DMA_GET_FE_FLAG_INDEX(__HANDLE__) |
Return the current DMA Stream FIFO error flag. | |
#define | __HAL_DMA_GET_DME_FLAG_INDEX(__HANDLE__) |
Return the current DMA Stream direct mode error flag. | |
#define | __HAL_DMA_GET_FLAG(__HANDLE__, __FLAG__) |
Get the DMA Stream pending flags. | |
#define | __HAL_DMA_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the DMA Stream pending flags. | |
#define | __HAL_DMA_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified DMA Stream interrupts. | |
#define | __HAL_DMA_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified DMA Stream interrupts. | |
#define | __HAL_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified DMA Stream interrupt is enabled or disabled. | |
#define | __HAL_DMA_SET_COUNTER(__HANDLE__, __COUNTER__) |
Writes the number of data units to be transferred on the DMA Stream. | |
#define | __HAL_DMA_GET_COUNTER(__HANDLE__) |
Returns the number of remaining data units in the current DMAy Streamx transfer. | |
DMA HAL module driver.
#define __HAL_DMA_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Reset DMA handle state.
__HANDLE__ | specifies the DMA handle. |
None |
Definition at line 396 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_GET_FS | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream FIFO filled level.
__HANDLE__ | DMA handle |
The | FIFO filling state.
|
Definition at line 410 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Enable the specified DMA Stream.
__HANDLE__ | DMA handle |
None |
Definition at line 417 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMA_Start(), HAL_DMA_Start_IT(), HAL_DMAEx_MultiBufferStart(), and HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Disable the specified DMA Stream.
__HANDLE__ | DMA handle |
None |
Definition at line 424 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMA_Abort(), HAL_DMA_Abort_IT(), HAL_DMA_DeInit(), HAL_DMA_Init(), and HAL_DMA_IRQHandler().
#define __HAL_DMA_GET_TC_FLAG_INDEX | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream transfer complete flag.
__HANDLE__ | DMA handle |
The | specified transfer complete flag index. |
Definition at line 433 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_GET_HT_FLAG_INDEX | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream half transfer complete flag.
__HANDLE__ | DMA handle |
The | specified half transfer complete flag index. |
Definition at line 453 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_GET_TE_FLAG_INDEX | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream transfer error flag.
__HANDLE__ | DMA handle |
The | specified transfer error flag index. |
Definition at line 473 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_GET_FE_FLAG_INDEX | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream FIFO error flag.
__HANDLE__ | DMA handle |
The | specified FIFO error flag index. |
Definition at line 493 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_GET_DME_FLAG_INDEX | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Return the current DMA Stream direct mode error flag.
__HANDLE__ | DMA handle |
The | specified direct mode error flag index. |
Definition at line 513 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_dma.h>
Get the DMA Stream pending flags.
__HANDLE__ | DMA handle |
__FLAG__ | Get the specified flag. This parameter can be any combination of the following values:
|
The | state of FLAG (SET or RESET). |
Definition at line 541 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_dma.h>
Clear the DMA Stream pending flags.
__HANDLE__ | DMA handle |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 559 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMAEx_MultiBufferStart_IT().
#define __HAL_DMA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_dma.h>
Enable the specified DMA Stream interrupts.
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 576 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_dma.h>
Disable the specified DMA Stream interrupts.
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 591 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_dma.h>
Check whether the specified DMA Stream interrupt is enabled or disabled.
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt source to check. This parameter can be one of the following values:
|
The | state of DMA_IT. |
Definition at line 606 of file stm32f4xx_hal_dma.h.
Referenced by HAL_DMA_IRQHandler().
#define __HAL_DMA_SET_COUNTER | ( | __HANDLE__, | |
__COUNTER__ ) |
#include <stm32f4xx_hal_dma.h>
Writes the number of data units to be transferred on the DMA Stream.
__HANDLE__ | DMA handle |
__COUNTER__ | Number of data units to be transferred (from 0 to 65535) Number of data items depends only on the Peripheral data format. |
The | number of remaining data units in the current DMAy Streamx transfer. |
Definition at line 627 of file stm32f4xx_hal_dma.h.
#define __HAL_DMA_GET_COUNTER | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_dma.h>
Returns the number of remaining data units in the current DMAy Streamx transfer.
__HANDLE__ | DMA handle |
The | number of remaining data units in the current DMA Stream transfer. |
Definition at line 635 of file stm32f4xx_hal_dma.h.
Referenced by HAL_UART_IRQHandler().