HAL_EXTI_GetPending() function
Get interrupt pending bit of a dedicated line.
Arguments
Edge
Specify which pending edge as to be checked. This parameter can be one of the following values: @arg
EXTI_TRIGGER_RISING_FALLING
This parameter is kept for compatibility with other series.
Return value
1 if interrupt is pending else 0.