Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.
◆ AMBIENT9_ALS
#define AMBIENT9_ALS 0xAA |
◆ AMBIENT9_PART_ID_VAL
#define AMBIENT9_PART_ID_VAL 0x03 |
◆ AMBIENT9_POWER_ON
#define AMBIENT9_POWER_ON 0x20 |
◆ AMBIENT9_PROXY
#define AMBIENT9_PROXY 0xBB |
◆ AMBIENT9_REG_ALS_DATA_0
#define AMBIENT9_REG_ALS_DATA_0 0x0D |
◆ AMBIENT9_REG_ALS_DATA_1
#define AMBIENT9_REG_ALS_DATA_1 0x0E |
◆ AMBIENT9_REG_ALS_DATA_2
#define AMBIENT9_REG_ALS_DATA_2 0x0F |
◆ AMBIENT9_REG_ALS_GAIN
#define AMBIENT9_REG_ALS_GAIN 0x05 |
◆ AMBIENT9_REG_ALS_MEAS_RATE
#define AMBIENT9_REG_ALS_MEAS_RATE 0x04 |
◆ AMBIENT9_REG_ALS_THRES_LOW_0
#define AMBIENT9_REG_ALS_THRES_LOW_0 0x27 |
◆ AMBIENT9_REG_ALS_THRES_LOW_1
#define AMBIENT9_REG_ALS_THRES_LOW_1 0x28 |
◆ AMBIENT9_REG_ALS_THRES_LOW_2
#define AMBIENT9_REG_ALS_THRES_LOW_2 0x29 |
◆ AMBIENT9_REG_ALS_THRES_UP_0
#define AMBIENT9_REG_ALS_THRES_UP_0 0x24 |
◆ AMBIENT9_REG_ALS_THRES_UP_1
#define AMBIENT9_REG_ALS_THRES_UP_1 0x25 |
◆ AMBIENT9_REG_ALS_THRES_UP_2
#define AMBIENT9_REG_ALS_THRES_UP_2 0x26 |
◆ AMBIENT9_REG_ALS_THRES_VAR
#define AMBIENT9_REG_ALS_THRES_VAR 0x2A |
◆ AMBIENT9_REG_INT_CFG
#define AMBIENT9_REG_INT_CFG 0x19 |
◆ AMBIENT9_REG_INT_PST
#define AMBIENT9_REG_INT_PST 0x1A |
◆ AMBIENT9_REG_LS_CLEAR_DATA_0
#define AMBIENT9_REG_LS_CLEAR_DATA_0 0x0A |
◆ AMBIENT9_REG_LS_CLEAR_DATA_1
#define AMBIENT9_REG_LS_CLEAR_DATA_1 0x0B |
◆ AMBIENT9_REG_LS_CLEAR_DATA_2
#define AMBIENT9_REG_LS_CLEAR_DATA_2 0x0C |
◆ AMBIENT9_REG_MAIN_CTRL
#define AMBIENT9_REG_MAIN_CTRL 0x00 |
◆ AMBIENT9_REG_MAIN_STATUS
#define AMBIENT9_REG_MAIN_STATUS 0x07 |
◆ AMBIENT9_REG_PART_ID
#define AMBIENT9_REG_PART_ID 0x06 |
◆ AMBIENT9_REG_PS_AV_HYST
#define AMBIENT9_REG_PS_AV_HYST 0x23 |
◆ AMBIENT9_REG_PS_CAN_ANA_CURRENT
#define AMBIENT9_REG_PS_CAN_ANA_CURRENT 0x22 |
◆ AMBIENT9_REG_PS_CAN_ANA_DURATION
#define AMBIENT9_REG_PS_CAN_ANA_DURATION 0x21 |
◆ AMBIENT9_REG_PS_CAN_DIG_0
#define AMBIENT9_REG_PS_CAN_DIG_0 0x1F |
◆ AMBIENT9_REG_PS_CAN_DIG_1
#define AMBIENT9_REG_PS_CAN_DIG_1 0x20 |
◆ AMBIENT9_REG_PS_DATA_0
#define AMBIENT9_REG_PS_DATA_0 0x08 |
◆ AMBIENT9_REG_PS_DATA_1
#define AMBIENT9_REG_PS_DATA_1 0x09 |
◆ AMBIENT9_REG_PS_LED
#define AMBIENT9_REG_PS_LED 0x01 |
◆ AMBIENT9_REG_PS_MEAS_RATE
#define AMBIENT9_REG_PS_MEAS_RATE 0x03 |
◆ AMBIENT9_REG_PS_PULSES
#define AMBIENT9_REG_PS_PULSES 0x02 |
◆ AMBIENT9_REG_PS_THRES_LOW_0
#define AMBIENT9_REG_PS_THRES_LOW_0 0x1D |
◆ AMBIENT9_REG_PS_THRES_LOW_1
#define AMBIENT9_REG_PS_THRES_LOW_1 0x1E |
◆ AMBIENT9_REG_PS_THRES_UP_0
#define AMBIENT9_REG_PS_THRES_UP_0 0x1B |
◆ AMBIENT9_REG_PS_THRES_UP_1
#define AMBIENT9_REG_PS_THRES_UP_1 0x1C |
◆ AMBIENT9_SLAVE_ADDR
#define AMBIENT9_SLAVE_ADDR 0x53 |