HAL
__HAL_DSI_GET_IT_SOURCE is only used within HAL.
 
Symbols
loading...
Files
loading...

__HAL_DSI_GET_IT_SOURCE macro

Checks whether the specified DSI interrupt source is enabled or not.

Syntax

#define __HAL_DSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER & (__INTERRUPT__))

Arguments

__HANDLE__

DSI handle

__INTERRUPT__

specifies the DSI interrupt source to check. This parameter can be one of the following values: @arg DSI_IT_TE : Tearing Effect Interrupt @arg DSI_IT_ER : End of Refresh Interrupt @arg DSI_IT_PLLL: PLL Lock Interrupt @arg DSI_IT_PLLU: PLL Unlock Interrupt @arg DSI_IT_RR : Regulator Ready Interrupt

Return value

The state of INTERRUPT (SET or RESET).

References

LocationText
stm32f4xx_hal_dsi.h:1120
#define __HAL_DSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->WIER & (__INTERRUPT__))
stm32f4xx_hal_dsi.c:829
if (__HAL_DSI_GET_IT_SOURCE(hdsi, DSI_IT_TE) != 0U)
stm32f4xx_hal_dsi.c:848
if (__HAL_DSI_GET_IT_SOURCE(hdsi, DSI_IT_ER) != 0U)