Input and Output operation functions.
More...
|
| HAL_StatusTypeDef | HAL_EXT_DMA_Start (EXT_DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Counts) |
| | Start the DMA Transfer. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_Start_IT (EXT_DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Counts) |
| | Start the DMA Transfer with interrupt enabled. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_Abort (EXT_DMA_HandleTypeDef *hdma) |
| | Abort the DMA Transfer. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_Abort_IT (EXT_DMA_HandleTypeDef *hdma) |
| | Aborts the DMA Transfer in Interrupt mode. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_PollForTransfer (EXT_DMA_HandleTypeDef *hdma, HAL_EXT_DMA_LevelCompleteTypeDef CompleteLevel, uint32_t Timeout) |
| | Polling for transfer complete. More...
|
| |
| void | HAL_EXT_DMA_IRQHandler (EXT_DMA_HandleTypeDef *hdma) |
| | Handle DMA interrupt request. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_RegisterCallback (EXT_DMA_HandleTypeDef *hdma, HAL_EXT_DMA_CallbackIDTypeDef CallbackID, void(*pCallback)(EXT_DMA_HandleTypeDef *_hdma)) |
| | Register callbacks. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_UnRegisterCallback (EXT_DMA_HandleTypeDef *hdma, HAL_EXT_DMA_CallbackIDTypeDef CallbackID) |
| | UnRegister callbacks. More...
|
| |
| HAL_StatusTypeDef | HAL_EXT_DMA_GetConfig (uint32_t target_size, uint32_t *cfg0, uint32_t *cfg1) |
| | Get ext DAM compression/decompression configuration. More...
|
| |
Input and Output operation functions.
EXT_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_EXT_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_EXT_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_EXT_DMA_GetConfig()
| HAL_StatusTypeDef HAL_EXT_DMA_GetConfig |
( |
uint32_t |
target_size, |
|
|
uint32_t * |
cfg0, |
|
|
uint32_t * |
cfg1 |
|
) |
| |
Get ext DAM compression/decompression configuration.
- Parameters
-
| target_size | obsolete. |
| cfg0 | Compression configuration 0 |
| cfg1 | Compression configuration 1 |
- Return values
-
◆ HAL_EXT_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_EXT_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_EXT_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_EXT_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 from SrcAddress. Counts are uncompressed size from source if compressed is enable. |
- Return values
-
◆ HAL_EXT_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 from SrcAddress. Counts are uncompressed size from source if compressed is enable. |
- Return values
-
◆ HAL_EXT_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
-