controller_bb_8_driver/src/i2c.c
msg_t i2cSimpleRead(uint8_t address, uint8_t *rxbuf, uint8_t length, uint16_t timeout)
{
    msg_t msg = i2cMasterReceiveTimeout( i2cDriver, address, rxbuf, length, timeout );
    return msg;
}
/**
 * @brief   Read multiple bytes of data from slave
 *
 * @param
 *          address         7 bit address of slave device
 *          rxbuf           link to a buffer array where to store read data
 *          length          number of bytes to read
 *          timeout         timeout value [ms]
 *
 * @return                  The operation status.
 * @retval  MSG_OK          if the function succeeded.
 * @retval  MSG_RESET       if one or more I2C errors occurred, the errors can
 *                          be retrieved using @p i2cGetErrors().
 * @retval  MSG_TIMEOUT     if a timeout occurred before operation end.
 */
@brief   Read multiple bytes of data from slave
@param
address         7 bit address of slave device
rxbuf           link to a buffer array where to store read data
length          number of bytes to read
timeout         timeout value [ms]

@return                  The operation status.
@retval  MSG_OK          if the function succeeded.
@retval  MSG_RESET       if one or more I2C errors occurred, the errors can
be retrieved using @p i2cGetErrors().
@retval  MSG_TIMEOUT     if a timeout occurred before operation end.
@brief Read multiple bytes of data from slave @param address 7 bit address of slave device rxbuf link to a buffer array where to store read data length number of bytes to read timeout timeout value [ ms ] @return The operation status . @retval MSG_OK if the function succeeded . @retval MSG_RESET if one or more I2C errors occurred the errors can be retrieved using @p i2cGetErrors () . @retval MSG_TIMEOUT if a timeout occurred before operation end .
msg_t i2cSimpleRead(uint8_t address, uint8_t *rxbuf, uint8_t length, uint16_t timeout)
{
    msg_t msg = i2cMasterReceiveTimeout( i2cDriver, address, rxbuf, length, timeout );
    return msg;
}
msg_t i2cSimpleRead ( uint8_t address , uint8_t * rxbuf , uint8_t length , uint16_t timeout ) { msg_t msg = i2cMasterReceiveTimeout ( i2cDriver , address , rxbuf , length , timeout ) ; return msg ; }
@brief   Read multiple bytes of data from slave
 @param
          address         7 bit address of slave device
          rxbuf           link to a buffer array where to store read data
          length          number of bytes to read
          timeout         timeout value [ms]
@brief Read multiple bytes of data from slave @param address 7 bit address of slave device rxbuf link to a buffer array where to store read data length number of bytes to read timeout timeout value [ ms ]