/* Resets the slave hardware state machine. According to documentation, after disabling slave to rest the slave hardware state machine, the register configuration remains unchanged.  */
static void I2C_SlaveInternalStateMachineReset(I2C_Type *base)
/* Resets the slave hardware state machine. According to documentation, after disabling slave to rest the slave hardware state machine, the register configuration remains unchanged.  */
static void I2C_SlaveInternalStateMachineReset(I2C_Type *base)
{
    I2C_SlaveEnable(base, false);
}