/* Checks whether the specified IWDG flag is set or not.  */
FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG)
/* Checks whether the specified IWDG flag is set or not.  */
FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_IWDG_FLAG(IWDG_FLAG));
    if ((IWDG->SR & IWDG_FLAG) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}