color16 2.1.0.0
|
Settings for registers of Color 16 Click driver. More...
Settings for registers of Color 16 Click driver.
#define COLOR16_ACCESS_REG_BANK_20H_7FH 1 |
#define COLOR16_ACCESS_REG_BANK_ABOVE_80H 0 |
Color 16 register bank access setting.
Specified setting for register bank access of Color 16 Click driver.
#define COLOR16_ASTATUS_AGAIN_MASK 0x0F |
#define COLOR16_ASTATUS_ASAT 0x80 |
Color 16 ASTATUS register setting.
Specified setting for ASTATUS register of Color 16 Click driver.
#define COLOR16_ASTEP_MAX 65534 |
#define COLOR16_ATIME_MAX 255 |
#define COLOR16_CFG_0_LOW_POWER 0x20 |
Color 16 CFG_0 register setting.
Specified setting for CFG_0 register of Color 16 Click driver.
#define COLOR16_CFG_0_REG_BANK 0x10 |
#define COLOR16_CFG_0_WLONG 0x04 |
#define COLOR16_CFG_1_AGAIN_0p5 0x00 |
Color 16 CFG_1 register setting.
Specified setting for CFG_1 register of Color 16 Click driver.
#define COLOR16_CFG_1_AGAIN_1 0x01 |
#define COLOR16_CFG_1_AGAIN_1024 0x0B |
#define COLOR16_CFG_1_AGAIN_128 0x08 |
#define COLOR16_CFG_1_AGAIN_16 0x05 |
#define COLOR16_CFG_1_AGAIN_2 0x02 |
#define COLOR16_CFG_1_AGAIN_2048 0x0C |
#define COLOR16_CFG_1_AGAIN_256 0x09 |
#define COLOR16_CFG_1_AGAIN_32 0x06 |
#define COLOR16_CFG_1_AGAIN_4 0x03 |
#define COLOR16_CFG_1_AGAIN_512 0x0A |
#define COLOR16_CFG_1_AGAIN_64 0x07 |
#define COLOR16_CFG_1_AGAIN_8 0x04 |
#define COLOR16_CFG_1_AGAIN_MASK 0x1F |
#define COLOR16_CFG_20_AUTO_SMUX_12CH 0x40 |
#define COLOR16_CFG_20_AUTO_SMUX_18CH 0x60 |
#define COLOR16_CFG_20_AUTO_SMUX_6CH 0x00 |
#define COLOR16_CFG_20_AUTO_SMUX_MASK 0x60 |
#define COLOR16_CFG_20_FD_FIFO_8BIT 0x80 |
Color 16 CFG_20 register setting.
Specified setting for CFG_20 register of Color 16 Click driver.
#define COLOR16_CONTROL_CLEAR_SAI_ACT 0x01 |
#define COLOR16_CONTROL_FIFO_CLR 0x02 |
#define COLOR16_CONTROL_SP_MAN_AZ 0x04 |
#define COLOR16_CONTROL_SW_RESET 0x08 |
Color 16 CONTROL register setting.
Specified setting for CONTROL register of Color 16 Click driver.
#define COLOR16_DEVICE_ADDRESS 0x39 |
Color 16 device address setting.
Specified setting for device slave address selection of Color 16 Click driver.
#define COLOR16_DEVICE_ID 0x81 |
Color 16 device ID value.
Specified device ID value of Color 16 Click driver.
#define COLOR16_ENABLE_FDEN 0x40 |
Color 16 ENABLE register setting.
Specified setting for ENABLE register of Color 16 Click driver.
#define COLOR16_ENABLE_POFF 0x00 |
#define COLOR16_ENABLE_PON 0x01 |
#define COLOR16_ENABLE_SMUXEN 0x10 |
#define COLOR16_ENABLE_SP_EN 0x02 |
#define COLOR16_ENABLE_WEN 0x08 |
#define COLOR16_INTEGRATION_TIME_DEFAULT 90.0f |
#define COLOR16_INTEGRATION_TIME_MAX ( ( float ) ( COLOR16_ATIME_MAX + 1 ) * ( COLOR16_ASTEP_MAX + 1 ) * COLOR16_SINGLE_STEP_MS ) |
#define COLOR16_INTEGRATION_TIME_MIN COLOR16_SINGLE_STEP_MS |
#define COLOR16_LED_DRIVE_CURR_DEFAULT 8 |
#define COLOR16_LED_DRIVE_CURR_MAX 258 |
#define COLOR16_LED_DRIVE_CURR_MIN 4 |
#define COLOR16_LED_DRIVE_CURR_STEP 2 |
#define COLOR16_LED_OFF 0x00 |
Color 16 LED register setting.
Specified setting for LED register of Color 16 Click driver.
#define COLOR16_LED_ON 0x80 |
#define COLOR16_SINGLE_STEP_MS 0.00278f |
Color 16 integration time setting.
Specified setting for integration time of Color 16 Click driver.
#define COLOR16_STATUS_2_ASAT_ANA 0x08 |
#define COLOR16_STATUS_2_ASAT_DIG 0x10 |
#define COLOR16_STATUS_2_AVALID 0x40 |
Color 16 STATUS_2 register setting.
Specified setting for STATUS_2 register of Color 16 Click driver.
#define COLOR16_STATUS_2_FDSAT_ANA 0x02 |
#define COLOR16_STATUS_2_FDSAT_DIG 0x01 |
#define COLOR16_STATUS_AINT 0x08 |
#define COLOR16_STATUS_ASAT 0x80 |
Color 16 STATUS register setting.
Specified setting for STATUS register of Color 16 Click driver.
#define COLOR16_STATUS_FINT 0x04 |
#define COLOR16_STATUS_SINT 0x01 |
#define COLOR16_WAIT_STEP_MS 2.78f |
#define COLOR16_WAIT_TIME_DEFAULT 100.0f |
#define COLOR16_WAIT_TIME_MAX ( ( float ) ( COLOR16_WTIME_MAX + 1 ) * COLOR16_WAIT_STEP_MS ) |
#define COLOR16_WAIT_TIME_MIN COLOR16_WAIT_STEP_MS |
#define COLOR16_WTIME_MAX 255 |