/* whether or not to response to a general Cal  */
void i2c_slave_response_to_gcall_config(uint32_t i2c_periph, i2c_gcall_config_enum gcallpara)
/* whether or not to response to a general Cal  */
void i2c_slave_response_to_gcall_config(uint32_t i2c_periph, i2c_gcall_config_enum gcallpara)
{
    I2C_CTL0(i2c_periph) &= ~(I2C_CTL0_GCEN);
    I2C_CTL0(i2c_periph) |= ((I2C_CTL0_GCEN)&(gcallpara));
}