/* check the I/O compensation cell is ready or not  */
FlagStatus gpio_compensation_flag_get(void)
/* check the I/O compensation cell is ready or not  */
FlagStatus gpio_compensation_flag_get(void)
{
    if(((uint32_t)RESET) != (AFIO_CPSCTL & AFIO_CPSCTL_CPS_RDY)){
        return SET;
    }else{
        return RESET;
    }
}