|
cantata
|
|
Macros | |
| #define | __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) |
| Returns the current DMA Channel transfer complete flag. More... | |
| #define | __HAL_DMA_GET_HT_FLAG_INDEX(__HANDLE__) |
| Return the current DMA Channel half transfer complete flag. More... | |
| #define | __HAL_DMA_GET_TE_FLAG_INDEX(__HANDLE__) |
| Return the current DMA Channel transfer error flag. More... | |
| #define | __HAL_DMA_GET_GI_FLAG_INDEX(__HANDLE__) |
| Return the current DMA Channel Global interrupt flag. More... | |
| #define | __HAL_DMA_GET_FLAG(__HANDLE__, __FLAG__) (DMA1->ISR & (__FLAG__)) |
| Get the DMA Channel pending flags. More... | |
| #define | __HAL_DMA_CLEAR_FLAG(__HANDLE__, __FLAG__) (DMA1->IFCR = (__FLAG__)) |
| Clear the DMA Channel pending flags. More... | |
| #define __HAL_DMA_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | (DMA1->IFCR = (__FLAG__)) |
Clear the DMA Channel pending flags.
| <strong>HANDLE</strong> | DMA handle |
| <strong>FLAG</strong> | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
| #define __HAL_DMA_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | (DMA1->ISR & (__FLAG__)) |
Get the DMA Channel pending flags.
| <strong>HANDLE</strong> | DMA handle |
| <strong>FLAG</strong> | Get the specified flag. This parameter can be any combination of the following values:
|
| The | state of FLAG (SET or RESET). |
| #define __HAL_DMA_GET_GI_FLAG_INDEX | ( | __HANDLE__ | ) |
Return the current DMA Channel Global interrupt flag.
| <strong>HANDLE</strong> | DMA handle |
| The | specified transfer error flag index. |
| #define __HAL_DMA_GET_HT_FLAG_INDEX | ( | __HANDLE__ | ) |
Return the current DMA Channel half transfer complete flag.
| <strong>HANDLE</strong> | DMA handle |
| The | specified half transfer complete flag index. |
| #define __HAL_DMA_GET_TC_FLAG_INDEX | ( | __HANDLE__ | ) |
Returns the current DMA Channel transfer complete flag.
| <strong>HANDLE</strong> | DMA handle |
| The | specified transfer complete flag index. |
| #define __HAL_DMA_GET_TE_FLAG_INDEX | ( | __HANDLE__ | ) |
Return the current DMA Channel transfer error flag.
| <strong>HANDLE</strong> | DMA handle |
| The | specified transfer error flag index. |
1.8.13