Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
veml60xx-common.h File Reference

Header file for extended sensor API of VEML60xx sensor family. More...

Go to the source code of this file.

Data Structures

struct  veml60xx_it_data

Enumerations

enum  veml60xx_it {
  VEML60XX_IT_3_125 , VEML60XX_IT_6_25 , VEML60XX_IT_12_5 , VEML60XX_IT_25 ,
  VEML60XX_IT_50 , VEML60XX_IT_100 , VEML60XX_IT_200 , VEML60XX_IT_400
}
 VEML60xx integration time options for ambient light measurements. More...
enum  veml60xx_gain { VEML60XX_GAIN_1 = 0x00 , VEML60XX_GAIN_2 = 0x01 , VEML60XX_GAIN_0_66 = 0x02 , VEML60XX_GAIN_0_5 = 0x03 }
 VEML60xx gain options for ambient light measurements. More...
enum  veml60xx_pers { VEML60XX_PERS_1 = 0x00 , VEML60XX_PERS_2 = 0x01 , VEML60XX_PERS_4 = 0x02 , VEML60XX_PERS_8 = 0x03 }
 VEML60xx ALS interrupt persistence protect number options. More...

Functions

static bool veml60xx_gain_in_range (int32_t gain)
static bool veml60xx_it_in_range (int32_t it)
static bool veml60xx_pers_in_range (int32_t pers)

Variables

static const struct veml60xx_it_data veml60xx_it_values [VEML60XX_IT_COUNT]

Detailed Description

Header file for extended sensor API of VEML60xx sensor family.