STM32L4xx_HAL_Driver  1.14.0
Peripheral State and Errors functions

Peripheral State and Errors functions. More...

Functions

HAL_DSI_StateTypeDef HAL_DSI_GetState (DSI_HandleTypeDef *hdsi)
 Return the DSI state. More...
 
uint32_t HAL_DSI_GetError (DSI_HandleTypeDef *hdsi)
 Return the DSI error code. More...
 

Detailed Description

Peripheral State and Errors functions.

 ===============================================================================
                  ##### Peripheral State and Errors functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Check the DSI state.
      (+) Get error code.

Function Documentation

◆ HAL_DSI_GetError()

uint32_t HAL_DSI_GetError ( DSI_HandleTypeDef hdsi)

Return the DSI error code.

Parameters
hdsipointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
Return values
DSIError Code

Definition at line 2705 of file stm32l4xx_hal_dsi.c.

2706 {
2707  /* Get the error code */
2708  return hdsi->ErrorCode;
2709 }

◆ HAL_DSI_GetState()

HAL_DSI_StateTypeDef HAL_DSI_GetState ( DSI_HandleTypeDef hdsi)

Return the DSI state.

Parameters
hdsipointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
Return values
HALstate

Definition at line 2694 of file stm32l4xx_hal_dsi.c.

2695 {
2696  return hdsi->State;
2697 }