STM32L4xx_HAL_Driver  1.14.0
Peripheral State functions

Peripheral State functions. More...

Functions

HAL_DCMI_StateTypeDef HAL_DCMI_GetState (DCMI_HandleTypeDef *hdcmi)
 Return the DCMI state. More...
 
uint32_t HAL_DCMI_GetError (DCMI_HandleTypeDef *hdcmi)
 Return the DCMI error code. More...
 

Detailed Description

Peripheral State functions.

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

Function Documentation

◆ HAL_DCMI_GetError()

uint32_t HAL_DCMI_GetError ( DCMI_HandleTypeDef hdcmi)

Return the DCMI error code.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
DCMIError Code

Definition at line 1055 of file stm32l4xx_hal_dcmi.c.

1056 {
1057  return hdcmi->ErrorCode;
1058 }

◆ HAL_DCMI_GetState()

HAL_DCMI_StateTypeDef HAL_DCMI_GetState ( DCMI_HandleTypeDef hdcmi)

Return the DCMI state.

Parameters
hdcmipointer to a DCMI_HandleTypeDef structure that contains the configuration information for DCMI.
Return values
HALstate

Definition at line 1044 of file stm32l4xx_hal_dcmi.c.

1045 {
1046  return hdcmi->State;
1047 }
__IO HAL_DCMI_StateTypeDef State