Input and Output operation functions.
More...
|
HAL_StatusTypeDef | HAL_DMA_Start (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Counts) |
| Start the DMA Transfer. More...
|
|
HAL_StatusTypeDef | HAL_DMA_Start_IT (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Counts) |
| Start the DMA Transfer with interrupt enabled. More...
|
|
HAL_StatusTypeDef | HAL_DMA_Abort (DMA_HandleTypeDef *hdma) |
| Abort the DMA Transfer. More...
|
|
HAL_StatusTypeDef | HAL_DMA_Abort_IT (DMA_HandleTypeDef *hdma) |
| Aborts the DMA Transfer in Interrupt mode. More...
|
|
HAL_StatusTypeDef | HAL_DMA_PollForTransfer (DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, uint32_t Timeout) |
| Polling for transfer complete. More...
|
|
void | HAL_DMA_IRQHandler (DMA_HandleTypeDef *hdma) |
| Handle DMA interrupt request. More...
|
|
HAL_StatusTypeDef | HAL_DMA_RegisterCallback (DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void(*pCallback)(DMA_HandleTypeDef *_hdma)) |
| Register callbacks. More...
|
|
HAL_StatusTypeDef | HAL_DMA_UnRegisterCallback (DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID) |
| UnRegister callbacks. More...
|
|
void | HAL_DMA_Select_Source (DMA_Channel_TypeDef *dma_chl, uint8_t request) |
|
Input and Output operation functions.
DMA_Exported_Functions_Group1
===============================================================================
##### IO operation functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure the source, destination address and data length and Start DMA transfer
(+) Configure the source, destination address and data length and
Start DMA transfer with interrupt
(+) Abort DMA transfer
(+) Poll for transfer complete
(+) Handle DMA interrupt request
◆ HAL_DMA_Abort()
Abort the DMA Transfer.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
- Return values
-
◆ HAL_DMA_Abort_IT()
Aborts the DMA Transfer in Interrupt mode.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
- Return values
-
◆ HAL_DMA_IRQHandler()
Handle DMA interrupt request.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
- Return values
-
◆ HAL_DMA_PollForTransfer()
Polling for transfer complete.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
CompleteLevel | Specifies the DMA level complete. |
Timeout | Timeout duration. |
- Return values
-
◆ HAL_DMA_RegisterCallback()
Register callbacks.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
CallbackID | User Callback identifer a HAL_DMA_CallbackIDTypeDef ENUM as parameter. |
pCallback | pointer to private callbacsk function which has pointer to a DMA_HandleTypeDef structure as parameter. |
- Return values
-
◆ HAL_DMA_Start()
Start the DMA Transfer.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
SrcAddress | The source memory Buffer address |
DstAddress | The destination memory Buffer address |
Counts | The counts of data transfer action |
- Return values
-
◆ HAL_DMA_Start_IT()
Start the DMA Transfer with interrupt enabled.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
SrcAddress | The source memory Buffer address |
DstAddress | The destination memory Buffer address |
Counts | The counts of data transfer action |
- Return values
-
◆ HAL_DMA_UnRegisterCallback()
UnRegister callbacks.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
CallbackID | User Callback identifer a HAL_DMA_CallbackIDTypeDef ENUM as parameter. |
- Return values
-