ambient5 2.0.0.0
Configuration register

Macros

#define AMBIENT5_GAIN_x1   0x0000
 
#define AMBIENT5_GAIN_x2   0x0800
 
#define AMBIENT5_GAIN_x1_8   0x1000
 
#define AMBIENT5_GAIN_x1_4   0x1800
 
#define AMBIENT5_INTEGRATION_TIME_25ms   0x0300
 
#define AMBIENT5_INTEGRATION_TIME_50ms   0x0200
 
#define AMBIENT5_INTEGRATION_TIME_100ms   0x0000
 
#define AMBIENT5_INTEGRATION_TIME_200ms   0x0040
 
#define AMBIENT5_INTEGRATION_TIME_400ms   0x0080
 
#define AMBIENT5_INTEGRATION_TIME_800ms   0x00C0
 
#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_1   0x0000
 
#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_2   0x0010
 
#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_4   0x0020
 
#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_8   0x0030
 
#define AMBIENT5_INTERRUPT_DISABLE   0x0000
 
#define AMBIENT5_INTERRUPT_ENABLE   0x0002
 
#define AMBIENT5_POWER_ON   0x0000
 
#define AMBIENT5_SHUT_DOWN   0x0001
 

Detailed Description

Macro Definition Documentation

◆ AMBIENT5_GAIN_x1

#define AMBIENT5_GAIN_x1   0x0000

◆ AMBIENT5_GAIN_x1_4

#define AMBIENT5_GAIN_x1_4   0x1800

◆ AMBIENT5_GAIN_x1_8

#define AMBIENT5_GAIN_x1_8   0x1000

◆ AMBIENT5_GAIN_x2

#define AMBIENT5_GAIN_x2   0x0800

◆ AMBIENT5_INTEGRATION_TIME_100ms

#define AMBIENT5_INTEGRATION_TIME_100ms   0x0000

◆ AMBIENT5_INTEGRATION_TIME_200ms

#define AMBIENT5_INTEGRATION_TIME_200ms   0x0040

◆ AMBIENT5_INTEGRATION_TIME_25ms

#define AMBIENT5_INTEGRATION_TIME_25ms   0x0300

◆ AMBIENT5_INTEGRATION_TIME_400ms

#define AMBIENT5_INTEGRATION_TIME_400ms   0x0080

◆ AMBIENT5_INTEGRATION_TIME_50ms

#define AMBIENT5_INTEGRATION_TIME_50ms   0x0200

◆ AMBIENT5_INTEGRATION_TIME_800ms

#define AMBIENT5_INTEGRATION_TIME_800ms   0x00C0

◆ AMBIENT5_INTERRUPT_DISABLE

#define AMBIENT5_INTERRUPT_DISABLE   0x0000

◆ AMBIENT5_INTERRUPT_ENABLE

#define AMBIENT5_INTERRUPT_ENABLE   0x0002

◆ AMBIENT5_PERSISTANCE_PROTECT_NUMBER_1

#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_1   0x0000

◆ AMBIENT5_PERSISTANCE_PROTECT_NUMBER_2

#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_2   0x0010

◆ AMBIENT5_PERSISTANCE_PROTECT_NUMBER_4

#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_4   0x0020

◆ AMBIENT5_PERSISTANCE_PROTECT_NUMBER_8

#define AMBIENT5_PERSISTANCE_PROTECT_NUMBER_8   0x0030

◆ AMBIENT5_POWER_ON

#define AMBIENT5_POWER_ON   0x0000

◆ AMBIENT5_SHUT_DOWN

#define AMBIENT5_SHUT_DOWN   0x0001