ambient6 2.0.0.0

Macros

#define AMBIENT6_CFG_ALS_SENSITIVITY_X1   0x0000 << 11
 
#define AMBIENT6_CFG_ALS_SENSITIVITY_X2   0x0001 << 11
 
#define AMBIENT6_CFG_ALS_SENSITIVITY_X1_8   0x0002 << 11
 
#define AMBIENT6_CFG_ALS_SENSITIVITY_X1_4   0x0003 << 11
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_25MS   0x000C << 6
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_50MS   0x0008 << 6
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_100MS   0x0000
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_200MS   0x0001 << 6
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_400MS   0x0002 << 6
 
#define AMBIENT6_CFG_ALS_TIME_SETTING_800MS   0x0003 << 6
 
#define AMBIENT6_CFG_PERSISTENCE_NUMBER_1   0x0000 << 4
 
#define AMBIENT6_CFG_PERSISTENCE_NUMBER_2   0x0001 << 4
 
#define AMBIENT6_CFG_PERSISTENCE_NUMBER_4   0x0002 << 4
 
#define AMBIENT6_CFG_PERSISTENCE_NUMBER_8   0x0003 << 4
 
#define AMBIENT6_CFG_ALS_INT_DISABLE   0x0000
 
#define AMBIENT6_CFG_ALS_INT_ENABLE   0x0001 << 1
 
#define AMBIENT6_CFG_ALS_POWER_ON   0x0000
 
#define AMBIENT6_CFG_ALS_SHUT_DOWN   0x0001
 

Detailed Description

Macro Definition Documentation

◆ AMBIENT6_CFG_ALS_INT_DISABLE

#define AMBIENT6_CFG_ALS_INT_DISABLE   0x0000

◆ AMBIENT6_CFG_ALS_INT_ENABLE

#define AMBIENT6_CFG_ALS_INT_ENABLE   0x0001 << 1

◆ AMBIENT6_CFG_ALS_POWER_ON

#define AMBIENT6_CFG_ALS_POWER_ON   0x0000

◆ AMBIENT6_CFG_ALS_SENSITIVITY_X1

#define AMBIENT6_CFG_ALS_SENSITIVITY_X1   0x0000 << 11

◆ AMBIENT6_CFG_ALS_SENSITIVITY_X1_4

#define AMBIENT6_CFG_ALS_SENSITIVITY_X1_4   0x0003 << 11

◆ AMBIENT6_CFG_ALS_SENSITIVITY_X1_8

#define AMBIENT6_CFG_ALS_SENSITIVITY_X1_8   0x0002 << 11

◆ AMBIENT6_CFG_ALS_SENSITIVITY_X2

#define AMBIENT6_CFG_ALS_SENSITIVITY_X2   0x0001 << 11

◆ AMBIENT6_CFG_ALS_SHUT_DOWN

#define AMBIENT6_CFG_ALS_SHUT_DOWN   0x0001

◆ AMBIENT6_CFG_ALS_TIME_SETTING_100MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_100MS   0x0000

◆ AMBIENT6_CFG_ALS_TIME_SETTING_200MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_200MS   0x0001 << 6

◆ AMBIENT6_CFG_ALS_TIME_SETTING_25MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_25MS   0x000C << 6

◆ AMBIENT6_CFG_ALS_TIME_SETTING_400MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_400MS   0x0002 << 6

◆ AMBIENT6_CFG_ALS_TIME_SETTING_50MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_50MS   0x0008 << 6

◆ AMBIENT6_CFG_ALS_TIME_SETTING_800MS

#define AMBIENT6_CFG_ALS_TIME_SETTING_800MS   0x0003 << 6

◆ AMBIENT6_CFG_PERSISTENCE_NUMBER_1

#define AMBIENT6_CFG_PERSISTENCE_NUMBER_1   0x0000 << 4

◆ AMBIENT6_CFG_PERSISTENCE_NUMBER_2

#define AMBIENT6_CFG_PERSISTENCE_NUMBER_2   0x0001 << 4

◆ AMBIENT6_CFG_PERSISTENCE_NUMBER_4

#define AMBIENT6_CFG_PERSISTENCE_NUMBER_4   0x0002 << 4

◆ AMBIENT6_CFG_PERSISTENCE_NUMBER_8

#define AMBIENT6_CFG_PERSISTENCE_NUMBER_8   0x0003 << 4