STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Initialization and Configuration functions

Initialization and Configuration functions. More...

Collaboration diagram for Initialization and Configuration functions:

Functions

HAL_StatusTypeDef HAL_DSI_Init (DSI_HandleTypeDef *hdsi, DSI_PLLInitTypeDef *PLLInit)
 Initializes the DSI according to the specified parameters in the DSI_InitTypeDef and create the associated handle.
 
HAL_StatusTypeDef HAL_DSI_DeInit (DSI_HandleTypeDef *hdsi)
 De-initializes the DSI peripheral registers to their default reset values.
 
void HAL_DSI_MspInit (DSI_HandleTypeDef *hdsi)
 Initializes the DSI MSP.
 
void HAL_DSI_MspDeInit (DSI_HandleTypeDef *hdsi)
 De-initializes the DSI MSP.
 
HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor (DSI_HandleTypeDef *hdsi, uint32_t ActiveErrors)
 Enable the error monitor flags.
 

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
                ##### Initialization and Configuration functions #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Initialize and configure the DSI
      (+) De-initialize the DSI

Function Documentation

◆ HAL_DSI_Init()

◆ HAL_DSI_DeInit()

HAL_StatusTypeDef HAL_DSI_DeInit ( DSI_HandleTypeDef * hdsi)

#include <stm32f4xx_hal_dsi.h>

De-initializes the DSI peripheral registers to their default reset values.

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

Definition at line 485 of file stm32f4xx_hal_dsi.c.

References __HAL_DSI_DISABLE, __HAL_DSI_PLL_DISABLE, __HAL_DSI_REG_DISABLE, __HAL_DSI_WRAPPER_DISABLE, __HAL_UNLOCK, DSI_HandleTypeDef::ErrorCode, HAL_DSI_ERROR_NONE, HAL_DSI_MspDeInit(), HAL_DSI_STATE_BUSY, HAL_DSI_STATE_RESET, HAL_ERROR, HAL_OK, DSI_HandleTypeDef::Instance, and DSI_HandleTypeDef::State.

◆ HAL_DSI_MspInit()

__weak void HAL_DSI_MspInit ( DSI_HandleTypeDef * hdsi)

#include <stm32f4xx_hal_dsi.h>

Initializes the DSI MSP.

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

Definition at line 626 of file stm32f4xx_hal_dsi.c.

References UNUSED.

Referenced by HAL_DSI_Init().

◆ HAL_DSI_MspDeInit()

__weak void HAL_DSI_MspDeInit ( DSI_HandleTypeDef * hdsi)

#include <stm32f4xx_hal_dsi.h>

De-initializes the DSI MSP.

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

Definition at line 641 of file stm32f4xx_hal_dsi.c.

References UNUSED.

Referenced by HAL_DSI_DeInit().

◆ HAL_DSI_ConfigErrorMonitor()

HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor ( DSI_HandleTypeDef * hdsi,
uint32_t ActiveErrors )

#include <stm32f4xx_hal_dsi.h>

Enable the error monitor flags.

Parameters
hdsipointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
ActiveErrorsindicates which error interrupts will be enabled. This parameter can be any combination of
  • DSI_Error_Data_Type.
Return values
HALstatus

Definition at line 543 of file stm32f4xx_hal_dsi.c.

References __HAL_LOCK, __HAL_UNLOCK, DSI_ERROR_ACK_MASK, DSI_ERROR_CRC_MASK, DSI_ERROR_ECC_MASK, DSI_ERROR_EOT_MASK, DSI_ERROR_GEN_MASK, DSI_ERROR_OVF_MASK, DSI_ERROR_PHY_MASK, DSI_ERROR_PSE_MASK, DSI_ERROR_RX_MASK, DSI_ERROR_TX_MASK, DSI_HandleTypeDef::ErrorMsk, HAL_DSI_ERROR_ACK, HAL_DSI_ERROR_CRC, HAL_DSI_ERROR_ECC, HAL_DSI_ERROR_EOT, HAL_DSI_ERROR_GEN, HAL_DSI_ERROR_OVF, HAL_DSI_ERROR_PHY, HAL_DSI_ERROR_PSE, HAL_DSI_ERROR_RX, HAL_DSI_ERROR_TX, HAL_OK, and DSI_HandleTypeDef::Instance.