SWPMI control functions.
More...
SWPMI control functions.
===============================================================================
##### Peripheral Control methods #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the SWPMI.
(+) HAL_SWPMI_GetState() API is helpful to check in run-time the state of the SWPMI peripheral
(+) HAL_SWPMI_GetError() API is helpful to check in run-time the error state of the SWPMI peripheral
◆ HAL_SWPMI_GetError()
Return the SWPMI error code.
- Parameters
-
| hswpmi | : pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for the specified SWPMI. |
- Return values
-
Definition at line 1560 of file stm32l4xx_hal_swpmi.c.
1562 return hswpmi->ErrorCode;
◆ HAL_SWPMI_GetState()
Return the SWPMI handle state.
- Parameters
-
- Return values
-
Definition at line 1548 of file stm32l4xx_hal_swpmi.c.
1551 return hswpmi->State;