arch/arm/src/sam34/sam_twi.c
/*******************************************************************************
 * Name: twi_startmessage
 *
 * Description:
 *   Start the next write message
 *
 *******************************************************************************/
twi_startmessage
Description:
Start the next write message
twi_startmessage Description : Start the next write message
static void twi_startmessage(struct twi_dev_s *priv, struct i2c_msg_s *msg)
{
  if ((msg->flags & I2C_M_READ) == 0)
    {
      twi_startread(priv, msg);
    }
  else
    {
      twi_startwrite(priv, msg);
    }
}
static void twi_startmessage ( struct twi_dev_s * priv , struct i2c_msg_s * msg ) { if ( ( msg -> flags & I2C_M_READ ) == 0 ) { twi_startread ( priv , msg ) ; } else { twi_startwrite ( priv , msg ) ; } }
Name: twi_startmessage
 Description:
   Start the next write message
Name : twi_startmessage Description : Start the next write message