EXT_DMA_Exported_Constants
◆ __HAL_EXT_DMA_CLEAR_FLAG
#define __HAL_EXT_DMA_CLEAR_FLAG |
( |
|
__HANDLE__, |
|
|
|
__FLAG__ |
|
) |
| ((__HANDLE__)->Instance->IFCR = (__FLAG__)) |
Clear the DMA Channel pending flags.
- Parameters
-
__HANDLE__ | DMA handle |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
- DMA_FLAG_TCx: Transfer complete flag
- DMA_FLAG_HTx: Half transfer complete flag
- DMA_FLAG_TEx: Transfer error flag
- DMA_FLAG_GLx: Global interrupt flag Where x can be from 1 to 7 to select the DMA Channel x flag.
|
- Return values
-
◆ __HAL_EXT_DMA_DISABLE
#define __HAL_EXT_DMA_DISABLE |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CCR &= ~EXTDMA_CCR_EN) |
Disable the specified DMA Channel.
- Parameters
-
- Return values
-
◆ __HAL_EXT_DMA_DISABLE_IT
#define __HAL_EXT_DMA_DISABLE_IT |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__)) |
Disable the specified DMA Channel interrupts.
- Parameters
-
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
- DMA_IT_TC: Transfer complete interrupt mask
- DMA_IT_HT: Half transfer complete interrupt mask
- DMA_IT_TE: Transfer error interrupt mask
|
- Return values
-
◆ __HAL_EXT_DMA_ENABLE
#define __HAL_EXT_DMA_ENABLE |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CCR |= EXTDMA_CCR_EN) |
Enable the EXT_DMA .
- Parameters
-
- Return values
-
◆ __HAL_EXT_DMA_ENABLE_IT
#define __HAL_EXT_DMA_ENABLE_IT |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__)) |
Enable the specified DMA Channel interrupts.
- Parameters
-
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
- DMA_IT_TC: Transfer complete interrupt mask
- DMA_IT_HT: Half transfer complete interrupt mask
- DMA_IT_TE: Transfer error interrupt mask
|
- Return values
-
◆ __HAL_EXT_DMA_GET_COUNTER
#define __HAL_EXT_DMA_GET_COUNTER |
( |
|
__HANDLE__ | ) |
((__HANDLE__)->Instance->CNDTR) |
Return the number of remaining data units in the current DMA Channel transfer.
- Parameters
-
- Return values
-
The | number of remaining data units in the current DMA Channel transfer. |
◆ __HAL_EXT_DMA_GET_FLAG
#define __HAL_EXT_DMA_GET_FLAG |
( |
|
__HANDLE__, |
|
|
|
__FLAG__ |
|
) |
| ((uint32_t)((__HANDLE__)->Instance->ISR & (__FLAG__))) |
Get the DMA Channel pending flags.
- Parameters
-
__HANDLE__ | DMA handle |
__FLAG__ | Get the specified flag. This parameter can be any combination of the following values:
- DMA_FLAG_TCx: Transfer complete flag
- DMA_FLAG_HTx: Half transfer complete flag
- DMA_FLAG_TEx: Transfer error flag
- DMA_FLAG_GLx: Global interrupt flag Where x can be from 1 to 7 to select the DMA Channel x flag.
|
- Return values
-
The | state of FLAG (SET or RESET). |
◆ __HAL_EXT_DMA_GET_IT_SOURCE
#define __HAL_EXT_DMA_GET_IT_SOURCE |
( |
|
__HANDLE__, |
|
|
|
__INTERRUPT__ |
|
) |
| (((__HANDLE__)->Instance->CCR & (__INTERRUPT__))) |
Check whether the specified DMA Channel interrupt is enabled or not.
- Parameters
-
__HANDLE__ | DMA handle |
__INTERRUPT__ | specifies the DMA interrupt source to check. This parameter can be one of the following values:
- DMA_IT_TC: Transfer complete interrupt mask
- DMA_IT_HT: Half transfer complete interrupt mask
- DMA_IT_TE: Transfer error interrupt mask
|
- Return values
-
The | state of DMA_IT (SET or RESET). |
◆ __HAL_EXT_DMA_RESET_HANDLE_STATE
Reset EXT_DMA handle state.
- Parameters
-
- Return values
-