|
STM32L4xx_HAL_Driver
1.14.0
|
Modules | |
| Initialization/de-initialization methods | |
| Initialization and Configuration functions. | |
| IO operation methods | |
| SWPMI Transmit/Receive functions. | |
| SWPMI IRQ handler and callbacks | |
| SWPMI IRQ handler. | |
| Peripheral Control methods | |
| SWPMI control functions. | |
Functions | |
| HAL_StatusTypeDef | HAL_SWPMI_Init (SWPMI_HandleTypeDef *hswpmi) |
| Initialize the SWPMI peripheral according to the specified parameters in the SWPMI_InitTypeDef. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_DeInit (SWPMI_HandleTypeDef *hswpmi) |
| De-initialize the SWPMI peripheral. More... | |
| void | HAL_SWPMI_MspInit (SWPMI_HandleTypeDef *hswpmi) |
| Initialize the SWPMI MSP. More... | |
| void | HAL_SWPMI_MspDeInit (SWPMI_HandleTypeDef *hswpmi) |
| DeInitialize the SWPMI MSP. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_RegisterCallback (SWPMI_HandleTypeDef *hswpmi, HAL_SWPMI_CallbackIDTypeDef CallbackID, pSWPMI_CallbackTypeDef pCallback) |
| Register a user SWPMI callback to be used instead of the weak predefined callback. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_UnRegisterCallback (SWPMI_HandleTypeDef *hswpmi, HAL_SWPMI_CallbackIDTypeDef CallbackID) |
| Unregister a user SWPMI callback. SWPMI callback is redirected to the weak predefined callback. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Transmit (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size, uint32_t Timeout) |
| Transmit an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Receive (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size, uint32_t Timeout) |
| Receive an amount of data in blocking mode. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Transmit_IT (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size) |
| Transmit an amount of data in non-blocking mode with interrupt. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Receive_IT (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size) |
| Receive an amount of data in non-blocking mode with interrupt. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Transmit_DMA (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size) |
| Transmit an amount of data in non-blocking mode with DMA interrupt. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_Receive_DMA (SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size) |
| Receive an amount of data in non-blocking mode with DMA interrupt. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_DMAStop (SWPMI_HandleTypeDef *hswpmi) |
| Stop all DMA transfers. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_EnableLoopback (SWPMI_HandleTypeDef *hswpmi) |
| Enable the Loopback mode. More... | |
| HAL_StatusTypeDef | HAL_SWPMI_DisableLoopback (SWPMI_HandleTypeDef *hswpmi) |
| Disable the Loopback mode. More... | |
| void | HAL_SWPMI_IRQHandler (SWPMI_HandleTypeDef *hswpmi) |
| Handle SWPMI interrupt request. More... | |
| void | HAL_SWPMI_TxCpltCallback (SWPMI_HandleTypeDef *hswpmi) |
| Tx Transfer completed callback. More... | |
| void | HAL_SWPMI_TxHalfCpltCallback (SWPMI_HandleTypeDef *hswpmi) |
| Tx Half Transfer completed callback. More... | |
| void | HAL_SWPMI_RxCpltCallback (SWPMI_HandleTypeDef *hswpmi) |
| Rx Transfer completed callback. More... | |
| void | HAL_SWPMI_RxHalfCpltCallback (SWPMI_HandleTypeDef *hswpmi) |
| Rx Half Transfer completed callback. More... | |
| void | HAL_SWPMI_ErrorCallback (SWPMI_HandleTypeDef *hswpmi) |
| SWPMI error callback. More... | |
| HAL_SWPMI_StateTypeDef | HAL_SWPMI_GetState (SWPMI_HandleTypeDef *hswpmi) |
| Return the SWPMI handle state. More... | |
| uint32_t | HAL_SWPMI_GetError (SWPMI_HandleTypeDef *hswpmi) |
| Return the SWPMI error code. More... | |
| HAL_StatusTypeDef HAL_SWPMI_DeInit | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
De-initialize the SWPMI peripheral.
| hswpmi | SWPMI handle |
| HAL | status |
Definition at line 328 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_DisableLoopback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Disable the Loopback mode.
| hswpmi | SWPMI handle |
| HAL_OK | / HAL_BUSY |
Definition at line 1237 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_DMAStop | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Stop all DMA transfers.
| hswpmi | SWPMI handle |
| HAL | status |
Definition at line 1162 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_EnableLoopback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Enable the Loopback mode.
| hswpmi | SWPMI handle |
| HAL_OK | / HAL_BUSY |
Definition at line 1209 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_ErrorCallback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
SWPMI error callback.
| hswpmi | SWPMI handle |
| None |
Definition at line 1514 of file stm32l4xx_hal_swpmi.c.
| uint32_t HAL_SWPMI_GetError | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Return the SWPMI error code.
| hswpmi | : pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for the specified SWPMI. |
| SWPMI | Error Code |
Definition at line 1560 of file stm32l4xx_hal_swpmi.c.
| HAL_SWPMI_StateTypeDef HAL_SWPMI_GetState | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Return the SWPMI handle state.
| hswpmi | SWPMI handle |
| HAL | state |
Definition at line 1548 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Init | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Initialize the SWPMI peripheral according to the specified parameters in the SWPMI_InitTypeDef.
| hswpmi | SWPMI handle |
| HAL | status |
Definition at line 238 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_IRQHandler | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Handle SWPMI interrupt request.
| hswpmi | SWPMI handle |
| None |
Definition at line 1282 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_MspDeInit | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
DeInitialize the SWPMI MSP.
| hswpmi | SWPMI handle |
| None |
Definition at line 392 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_MspInit | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Initialize the SWPMI MSP.
| hswpmi | SWPMI handle |
| None |
Definition at line 377 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Receive | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Receive an amount of data in blocking mode.
| hswpmi | pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for SWPMI module. |
| pData | Pointer to data buffer |
| Size | Amount of data to be received |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 757 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Receive_DMA | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive an amount of data in non-blocking mode with DMA interrupt.
| hswpmi | SWPMI handle |
| pData | Pointer to data buffer |
| Size | Amount of data to be received |
| HAL | status |
Definition at line 1078 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Receive_IT | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Receive an amount of data in non-blocking mode with interrupt.
| hswpmi | SWPMI handle |
| pData | Pointer to data buffer |
| Size | Amount of data to be received |
| HAL | status |
Definition at line 928 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_RegisterCallback | ( | SWPMI_HandleTypeDef * | hswpmi, |
| HAL_SWPMI_CallbackIDTypeDef | CallbackID, | ||
| pSWPMI_CallbackTypeDef | pCallback | ||
| ) |
Register a user SWPMI callback to be used instead of the weak predefined callback.
| hswpmi | SWPMI handle. |
| CallbackID | ID of the callback to be registered. This parameter can be one of the following values:
|
| pCallback | pointer to the callback function. |
| HAL | status. |
Definition at line 419 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_RxCpltCallback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Rx Transfer completed callback.
| hswpmi | SWPMI handle |
| None |
Definition at line 1484 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_RxHalfCpltCallback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Rx Half Transfer completed callback.
| hswpmi | SWPMI handle |
| None |
Definition at line 1499 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Transmit | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size, | ||
| uint32_t | Timeout | ||
| ) |
Transmit an amount of data in blocking mode.
| hswpmi | pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for SWPMI module. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| Timeout | Timeout duration |
| HAL | status |
Definition at line 646 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Transmit_DMA | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit an amount of data in non-blocking mode with DMA interrupt.
| hswpmi | SWPMI handle |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 991 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_Transmit_IT | ( | SWPMI_HandleTypeDef * | hswpmi, |
| uint32_t * | pData, | ||
| uint16_t | Size | ||
| ) |
Transmit an amount of data in non-blocking mode with interrupt.
| hswpmi | pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for SWPMI module. |
| pData | Pointer to data buffer |
| Size | Amount of data to be sent |
| HAL | status |
Definition at line 861 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_TxCpltCallback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Tx Transfer completed callback.
| hswpmi | SWPMI handle |
| None |
Definition at line 1454 of file stm32l4xx_hal_swpmi.c.
| void HAL_SWPMI_TxHalfCpltCallback | ( | SWPMI_HandleTypeDef * | hswpmi | ) |
Tx Half Transfer completed callback.
| hswpmi | SWPMI handle |
| None |
Definition at line 1469 of file stm32l4xx_hal_swpmi.c.
| HAL_StatusTypeDef HAL_SWPMI_UnRegisterCallback | ( | SWPMI_HandleTypeDef * | hswpmi, |
| HAL_SWPMI_CallbackIDTypeDef | CallbackID | ||
| ) |
Unregister a user SWPMI callback. SWPMI callback is redirected to the weak predefined callback.
| hswpmi | SWPMI handle. |
| CallbackID | ID of the callback to be unregistered. This parameter can be one of the following values:
|
| HAL | status. |
Definition at line 511 of file stm32l4xx_hal_swpmi.c.