Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Peripheral Control methods

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 1083 of file stm32l4xx_hal_swpmi.c.

HAL_SWPMI_StateTypeDef HAL_SWPMI_GetState ( SWPMI_HandleTypeDef *  hswpmi )

Return the SWPMI handle state.

Parameters:
hswpmi,:SWPMI handle
Return values:
HALstate

Definition at line 1071 of file stm32l4xx_hal_swpmi.c.