Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
##### Initialization and Configuration functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Initialize and configure the DSI
(+) De-initialize the DSI
◆ HAL_DSI_ConfigErrorMonitor()
HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor |
( |
DSI_HandleTypeDef * |
hdsi, |
|
|
uint32_t |
ActiveErrors |
|
) |
| |
Enable the error monitor flags.
- Parameters
-
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
ActiveErrors | indicates which error interrupts will be enabled. This parameter can be any combination of
|
- Return values
-
Definition at line 543 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_DeInit()
De-initializes the DSI peripheral registers to their default reset values.
- Parameters
-
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
- Return values
-
Definition at line 485 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_Init()
Initializes the DSI according to the specified parameters in the DSI_InitTypeDef and create the associated handle.
- Parameters
-
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
PLLInit | pointer to a DSI_PLLInitTypeDef structure that contains the PLL Clock structure definition for the DSI. |
- Return values
-
Definition at line 309 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_MspDeInit()
De-initializes the DSI MSP.
- Parameters
-
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
- Return values
-
Definition at line 641 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_MspInit()
Initializes the DSI MSP.
- Parameters
-
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
- Return values
-
Definition at line 626 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_RegisterCallback()
Register a User DSI Callback To be used instead of the weak predefined callback.
- Parameters
-
hdsi | dsi handle |
CallbackID | ID of the callback to be registered This parameter can be one of the following values:
- HAL_DSI_TEARING_EFFECT_CB_ID Tearing Effect Callback ID
- HAL_DSI_ENDOF_REFRESH_CB_ID End Of Refresh Callback ID
- HAL_DSI_ERROR_CB_ID Error Callback ID
- HAL_DSI_MSPINIT_CB_ID MspInit callback ID
- HAL_DSI_MSPDEINIT_CB_ID MspDeInit callback ID
|
pCallback | pointer to the Callback function |
- Return values
-
Definition at line 665 of file stm32f4xx_hal_dsi.c.
◆ HAL_DSI_UnRegisterCallback()
Unregister a DSI Callback DSI callback is redirected to the weak predefined callback.
- Parameters
-
hdsi | dsi handle |
CallbackID | ID of the callback to be unregistered This parameter can be one of the following values:
- HAL_DSI_TEARING_EFFECT_CB_ID Tearing Effect Callback ID
- HAL_DSI_ENDOF_REFRESH_CB_ID End Of Refresh Callback ID
- HAL_DSI_ERROR_CB_ID Error Callback ID
- HAL_DSI_MSPINIT_CB_ID MspInit callback ID
- HAL_DSI_MSPDEINIT_CB_ID MspDeInit callback ID
|
- Return values
-
Definition at line 759 of file stm32f4xx_hal_dsi.c.