/* Checks whether the specified DIV flag is set or not.  */
FlagStatus DIV_GetFlagStatus(uint32_t DIV_FLAG)
/* Checks whether the specified DIV flag is set or not.  */
FlagStatus DIV_GetFlagStatus(uint32_t DIV_FLAG)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_DIV_GET_FLAG(DIV_FLAG));
    if ((DIV->SC & DIV_FLAG) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return  bitstatus;
}