/* Enables or disables the specified I2C general call feature.  */
void I2C_GeneralCallCmd(I2C_TypeDef *i2c, FunctionalState state)
/* Enables or disables the specified I2C general call feature.  */
void I2C_GeneralCallCmd(I2C_TypeDef *i2c, FunctionalState state)
{
    (state) ? (i2c->IC_TAR |= I2C_TAR_SPECIAL) : (i2c->IC_TAR &= ~I2C_TAR_SPECIAL);
}