/* Brief This function handles I2C1 (Slave) error interrupt request. Param None Retval None  */
void I2C1_ER_IRQHandler(void)
/* Brief This function handles I2C1 (Slave) error interrupt request. Param None Retval None  */
void I2C1_ER_IRQHandler(void)
{
  if((ubNbDataToTransmit == 0) && (LL_I2C_IsActiveFlag_AF(I2C1)))
  {
    LL_I2C_ClearFlag_AF(I2C1);
    Slave_Complete_Callback();
  }
  else
  {
    Error_Callback();
  }
}