/* Returns the measurement values for all the channels.  */
int32_t VEML6030_GetValues(VEML6030_Object_t *pObj, uint32_t *Values)
/* Returns the measurement values for all the channels.  */
int32_t VEML6030_GetValues(VEML6030_Object_t *pObj, uint32_t *Values)
{
  int32_t ret = VEML6030_OK;
  if (pObj == NULL)
  {
    ret = VEML6030_INVALID_PARAM;
  }
  else if(veml6030_read_reg(&pObj->Ctx, VEML6030_REG_ALS, (uint16_t *)&Values[0], 2)!=0)
  {
    ret = VEML6030_ERROR ;
  }
  else if(veml6030_read_reg(&pObj->Ctx, VEML6030_REG_WHITE,(uint16_t *)&Values[1], 2)!=0)
  {
    ret = VEML6030_ERROR ;
  }
  else
  {
  }
  return ret;
}