stm32f469_fw/src/hw/driver/ts.c
void TS_IO_WriteMultiple(uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
{
  bool ret;

  ret = i2cWriteBytes(_DEF_I2C1, Addr, Reg, Buffer, Length, 100);

  if (ret != true)
  {
    i2cRecovery(_DEF_I2C1);
  }
}
/**
  * @brief  Writes multiple data with I2C communication
  *         channel from MCU to TouchScreen.
  * @param  Addr: I2C address
  * @param  Reg: Register address
  * @param  Buffer: Pointer to data buffer
  * @param  Length: Length of the data
  */
@brief  Writes multiple data with I2C communication
channel from MCU to TouchScreen.
@param  Addr: I2C address
@param  Reg: Register address
@param  Buffer: Pointer to data buffer
@param  Length: Length of the data
@brief Writes multiple data with I2C communication channel from MCU to TouchScreen . @param Addr : I2C address @param Reg : Register address @param Buffer : Pointer to data buffer @param Length : Length of the data
void TS_IO_WriteMultiple(uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
{
  bool ret;
  ret = i2cWriteBytes(_DEF_I2C1, Addr, Reg, Buffer, Length, 100);
  if (ret != true)
  {
    i2cRecovery(_DEF_I2C1);
  }
}
void TS_IO_WriteMultiple ( uint8_t Addr , uint8_t Reg , uint8_t * Buffer , uint16_t Length ) { bool ret ; ret = i2cWriteBytes ( _DEF_I2C1 , Addr , Reg , Buffer , Length , 100 ) ; if ( ret != true ) { i2cRecovery ( _DEF_I2C1 ) ; } }
@brief  Writes multiple data with I2C communication
         channel from MCU to TouchScreen.
@brief Writes multiple data with I2C communication channel from MCU to TouchScreen .