/* Function called from I2C IRQ Handler when TXE flag is set Function is in charge of transmit a byte on I2C lines.  */
void Slave_Ready_To_Transmit_Callback(void)
/* Function called from I2C IRQ Handler when TXE flag is set Function is in charge of transmit a byte on I2C lines.  */
void Slave_Ready_To_Transmit_Callback(void)
{
  ubNbDataToTransmit--;  
  if(ubNbDataToTransmit == 0)
  {
    LL_I2C_DisableIT_BUF(I2C1);
  }
  LL_I2C_TransmitData8(I2C1, SLAVE_BYTE_TO_SEND);
}