Peripheral State and Errors functions. STMicroelectronics STM32F4
광고
광고
UM1725
HAL_DSI_SetContentionDetectionOff()
19.3.4 Peripheral State and Errors functions
This subsection provides functions allowing to
Check the DSI state.
Get error code.
This section contains the following APIs:
19.3.5 HAL_DSI_Init
Function Name
HAL_StatusTypeDef HAL_DSI_Init (DSI_HandleTypeDef * hdsi,
DSI_PLLInitTypeDef * PLLInit)
Function Description Initializes the DSI according to the specified parameters in the
DSI_InitTypeDef and create the associated handle.
Parameters
Return values
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
19.3.6 HAL_DSI_DeInit
Function Name
HAL_StatusTypeDef HAL_DSI_DeInit (DSI_HandleTypeDef *
hdsi)
Function Description De-initializes the DSI peripheral registers to their default reset values.
Parameters
Return values
hdsi: pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
HAL status
19.3.7 HAL_DSI_GetError
Function Name uint32_t HAL_DSI_GetError (DSI_HandleTypeDef * hdsi)
Function Description Return the DSI error code.
Parameters
Return values
hdsi: pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
DSI Error Code
19.3.8 HAL_DSI_ConfigErrorMonitor
Function Name
HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor
(DSI_HandleTypeDef * hdsi, uint32_t ActiveErrors)
Function Description Enable the error monitor flags.
Parameters
hdsi: pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
DOCID025834 Rev 3 279/963
다운로드
광고