/* check if the specified flag in SYSCFG_CFG2 is set or not.  */
FlagStatus syscfg_flag_get(uint32_t syscfg_flag)
/* check if the specified flag in SYSCFG_CFG2 is set or not.  */
FlagStatus syscfg_flag_get(uint32_t syscfg_flag)
{
    if((SYSCFG_CFG2 & syscfg_flag) != (uint32_t)RESET){
        return SET;
    }else{
        return RESET;
    }
}