STM32L486xx HAL User Manual
Functions
Peripheral Control methods
SWPMI Exported Functions

SWPMI control functions. More...

Functions

HAL_SWPMI_StateTypeDef HAL_SWPMI_GetState (SWPMI_HandleTypeDef *hswpmi)
 Return the SWPMI handle state.
uint32_t HAL_SWPMI_GetError (SWPMI_HandleTypeDef *hswpmi)
 Return the SWPMI error code.

Detailed Description

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

Function Documentation

uint32_t HAL_SWPMI_GetError ( SWPMI_HandleTypeDef hswpmi)

Return the SWPMI error code.

Parameters:
hswpmi: pointer to a SWPMI_HandleTypeDef structure that contains the configuration information for the specified SWPMI.
Return values:
SWPMIError Code

Definition at line 1524 of file stm32l4xx_hal_swpmi.c.

References __SWPMI_HandleTypeDef::ErrorCode.

Return the SWPMI handle state.

Parameters:
hswpmiSWPMI handle
Return values:
HALstate

Definition at line 1512 of file stm32l4xx_hal_swpmi.c.

References __SWPMI_HandleTypeDef::State.