STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization and Configuration functions. More...
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. | |
Initialization and Configuration functions.
=============================================================================== ##### Initialization and Configuration functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Initialize and configure the DSI (+) De-initialize the DSI
HAL_StatusTypeDef HAL_DSI_Init | ( | DSI_HandleTypeDef * | hdsi, |
DSI_PLLInitTypeDef * | PLLInit ) |
#include <stm32f4xx_hal_dsi.h>
Initializes the DSI according to the specified parameters in the DSI_InitTypeDef and create the associated handle.
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. |
HAL | status |
Definition at line 309 of file stm32f4xx_hal_dsi.c.
References __HAL_DSI_DISABLE, __HAL_DSI_ENABLE, __HAL_DSI_GET_FLAG, __HAL_DSI_PLL_ENABLE, __HAL_DSI_REG_ENABLE, __HAL_UNLOCK, assert_param, DSI_InitTypeDef::AutomaticClockLaneControl, DSI_FLAG_PLLLS, DSI_FLAG_RRS, DSI_ONE_DATA_LANE, DSI_TIMEOUT_VALUE, DSI_HandleTypeDef::ErrorCode, DSI_HandleTypeDef::ErrorMsk, HAL_Delay(), HAL_DSI_EndOfRefreshCallback(), HAL_DSI_ERROR_NONE, HAL_DSI_ErrorCallback(), HAL_DSI_MspInit(), HAL_DSI_STATE_BUSY, HAL_DSI_STATE_READY, HAL_DSI_STATE_RESET, HAL_DSI_TearingEffectCallback(), HAL_ERROR, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, HSE_VALUE, DSI_HandleTypeDef::Init, DSI_HandleTypeDef::Instance, IS_DSI_AUTO_CLKLANE_CONTROL, IS_DSI_NUMBER_OF_LANES, IS_DSI_PLL_IDF, IS_DSI_PLL_NDIV, IS_DSI_PLL_ODF, DSI_InitTypeDef::NumberOfLanes, DSI_PLLInitTypeDef::PLLIDF, DSI_PLLInitTypeDef::PLLNDIV, DSI_PLLInitTypeDef::PLLODF, DSI_HandleTypeDef::State, and DSI_InitTypeDef::TXEscapeCkdiv.
HAL_StatusTypeDef HAL_DSI_DeInit | ( | DSI_HandleTypeDef * | hdsi | ) |
#include <stm32f4xx_hal_dsi.h>
De-initializes the DSI peripheral registers to their default reset values.
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
HAL | status |
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.
__weak void HAL_DSI_MspInit | ( | DSI_HandleTypeDef * | hdsi | ) |
#include <stm32f4xx_hal_dsi.h>
Initializes the DSI MSP.
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
None |
Definition at line 626 of file stm32f4xx_hal_dsi.c.
References UNUSED.
Referenced by HAL_DSI_Init().
__weak void HAL_DSI_MspDeInit | ( | DSI_HandleTypeDef * | hdsi | ) |
#include <stm32f4xx_hal_dsi.h>
De-initializes the DSI MSP.
hdsi | pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI. |
None |
Definition at line 641 of file stm32f4xx_hal_dsi.c.
References UNUSED.
Referenced by HAL_DSI_DeInit().
HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor | ( | DSI_HandleTypeDef * | hdsi, |
uint32_t | ActiveErrors ) |
#include <stm32f4xx_hal_dsi.h>
Enable the error monitor flags.
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
|
HAL | status |
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.