stm32f469_fw/src/hw/driver/ts.c
void TS_IO_Write(uint8_t Addr, uint8_t Reg, uint8_t Value)
{
  bool ret;


  ret = i2cWriteByte(_DEF_I2C1, Addr, Reg, Value, 10);
  if (ret != true)
  {
    i2cRecovery(_DEF_I2C1);
  }
}
/**
  * @brief  Writes single data with I2C communication
  *         channel from MCU to TouchScreen.
  * @param  Addr: I2C address
  * @param  Reg: Register address
  * @param  Value: Data to be written
  */
@brief  Writes single data with I2C communication
channel from MCU to TouchScreen.
@param  Addr: I2C address
@param  Reg: Register address
@param  Value: Data to be written
@brief Writes single data with I2C communication channel from MCU to TouchScreen . @param Addr : I2C address @param Reg : Register address @param Value : Data to be written
void TS_IO_Write(uint8_t Addr, uint8_t Reg, uint8_t Value)
{
  bool ret;
  ret = i2cWriteByte(_DEF_I2C1, Addr, Reg, Value, 10);
  if (ret != true)
  {
    i2cRecovery(_DEF_I2C1);
  }
}
void TS_IO_Write ( uint8_t Addr , uint8_t Reg , uint8_t Value ) { bool ret ; ret = i2cWriteByte ( _DEF_I2C1 , Addr , Reg , Value , 10 ) ; if ( ret != true ) { i2cRecovery ( _DEF_I2C1 ) ; } }
@brief  Writes single data with I2C communication
         channel from MCU to TouchScreen.
@brief Writes single data with I2C communication channel from MCU to TouchScreen .