Internal addresses, registers, constants for the VCNL40X0 devices.
More...
Internal addresses, registers, constants for the VCNL40X0 devices.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file vcnl40x0_internals.h.
Go to the source code of this file.
◆ VCNL40X0_ADDR
#define VCNL40X0_ADDR (0x13) |
◆ VCNL40X0_AMBIENT_MASK_PARA_AUTO_OFFSET
#define VCNL40X0_AMBIENT_MASK_PARA_AUTO_OFFSET (0x08) |
◆ VCNL40X0_AMBIENT_MASK_PARA_AVERAGE
#define VCNL40X0_AMBIENT_MASK_PARA_AVERAGE (0x07) |
◆ VCNL40X0_AMBIENT_MASK_PARA_CONT_CONV
#define VCNL40X0_AMBIENT_MASK_PARA_CONT_CONV (0x80) |
◆ VCNL40X0_AMBIENT_MASK_PARA_MEAS_RATE
#define VCNL40X0_AMBIENT_MASK_PARA_MEAS_RATE (0x70) |
◆ VCNL40X0_AMBIENT_PARA_AUTO_OFFSET_ENABLE
#define VCNL40X0_AMBIENT_PARA_AUTO_OFFSET_ENABLE (0x08) |
◆ VCNL40X0_AMBIENT_PARA_CONT_CONV_ENABLE
#define VCNL40X0_AMBIENT_PARA_CONT_CONV_ENABLE (0x80) |
◆ VCNL40X0_COMMAND_ALL_DISABLE
#define VCNL40X0_COMMAND_ALL_DISABLE (0x00) |
◆ VCNL40X0_COMMAND_AMBI_ENABLE
#define VCNL40X0_COMMAND_AMBI_ENABLE (0x04) |
◆ VCNL40X0_COMMAND_AMBI_ON_DEMAND
#define VCNL40X0_COMMAND_AMBI_ON_DEMAND (0x10) |
◆ VCNL40X0_COMMAND_MASK_AMBI_DATA_READY
#define VCNL40X0_COMMAND_MASK_AMBI_DATA_READY (0x40) |
◆ VCNL40X0_COMMAND_MASK_LOCK
#define VCNL40X0_COMMAND_MASK_LOCK (0x80) |
◆ VCNL40X0_COMMAND_MASK_PROX_DATA_READY
#define VCNL40X0_COMMAND_MASK_PROX_DATA_READY (0x20) |
◆ VCNL40X0_COMMAND_PROX_ENABLE
#define VCNL40X0_COMMAND_PROX_ENABLE (0x02) |
◆ VCNL40X0_COMMAND_PROX_ON_DEMAND
#define VCNL40X0_COMMAND_PROX_ON_DEMAND (0x08) |
◆ VCNL40X0_COMMAND_SELFTIMED_MODE_ENABLE
#define VCNL40X0_COMMAND_SELFTIMED_MODE_ENABLE (0x01) |
◆ VCNL40X0_INTERRUPT_ALS_READY_ENABLE
#define VCNL40X0_INTERRUPT_ALS_READY_ENABLE (0x04) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_1
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_1 (0x00) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_128
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_128 (0xe0) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_16
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_16 (0x80) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_2
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_2 (0x20) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_32
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_32 (0xa0) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_4
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_4 (0x40) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_64
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_64 (0xc0) |
◆ VCNL40X0_INTERRUPT_COUNT_EXCEED_8
#define VCNL40X0_INTERRUPT_COUNT_EXCEED_8 (0x60) |
◆ VCNL40X0_INTERRUPT_MASK_ALS_READY
#define VCNL40X0_INTERRUPT_MASK_ALS_READY (0x04) |
◆ VCNL40X0_INTERRUPT_MASK_COUNT_EXCEED
#define VCNL40X0_INTERRUPT_MASK_COUNT_EXCEED (0xe0) |
◆ VCNL40X0_INTERRUPT_MASK_PROX_READY
#define VCNL40X0_INTERRUPT_MASK_PROX_READY (0x08) |
◆ VCNL40X0_INTERRUPT_MASK_STATUS_THRES_HI
#define VCNL40X0_INTERRUPT_MASK_STATUS_THRES_HI (0x01) |
◆ VCNL40X0_INTERRUPT_MASK_THRES_LO
#define VCNL40X0_INTERRUPT_MASK_THRES_LO (0x02) |
◆ VCNL40X0_INTERRUPT_PROX_READY_ENABLE
#define VCNL40X0_INTERRUPT_PROX_READY_ENABLE (0x08) |
◆ VCNL40X0_INTERRUPT_STATUS_ALS_READY
#define VCNL40X0_INTERRUPT_STATUS_ALS_READY (0x04) |
◆ VCNL40X0_INTERRUPT_STATUS_PROX_READY
#define VCNL40X0_INTERRUPT_STATUS_PROX_READY (0x08) |
◆ VCNL40X0_INTERRUPT_STATUS_THRES_HI
#define VCNL40X0_INTERRUPT_STATUS_THRES_HI (0x01) |
◆ VCNL40X0_INTERRUPT_STATUS_THRES_LO
#define VCNL40X0_INTERRUPT_STATUS_THRES_LO (0x02) |
◆ VCNL40X0_INTERRUPT_THRES_ENABLE
#define VCNL40X0_INTERRUPT_THRES_ENABLE (0x02) |
◆ VCNL40X0_INTERRUPT_THRES_SEL_ALS
#define VCNL40X0_INTERRUPT_THRES_SEL_ALS (0x01) |
◆ VCNL40X0_INTERRUPT_THRES_SEL_PROX
#define VCNL40X0_INTERRUPT_THRES_SEL_PROX (0x00) |
◆ VCNL40X0_PRODUCT_ID
#define VCNL40X0_PRODUCT_ID (0x20) |
◆ VCNL40X0_PRODUCT_MASK_PRODUCT_ID
#define VCNL40X0_PRODUCT_MASK_PRODUCT_ID (0xf0) |
◆ VCNL40X0_PRODUCT_MASK_REVISION_ID
#define VCNL40X0_PRODUCT_MASK_REVISION_ID (0x0f) |
◆ VCNL40X0_PROXIMITY_MASK_FUSE_PROG_ID
#define VCNL40X0_PROXIMITY_MASK_FUSE_PROG_ID (0xc0) |
◆ VCNL40X0_PROXIMITY_MASK_LED_CURRENT
#define VCNL40X0_PROXIMITY_MASK_LED_CURRENT (0x3f) |
◆ VCNL40X0_PROXIMITY_MASK_MEASUREMENT_RATE
#define VCNL40X0_PROXIMITY_MASK_MEASUREMENT_RATE (0x07) |
◆ VCNL40X0_REG_AMBIENT_IR_LIGHT_LEVEL
#define VCNL40X0_REG_AMBIENT_IR_LIGHT_LEVEL (0x90) /* should not be used */ |
◆ VCNL40X0_REG_AMBIENT_PARAMETER
#define VCNL40X0_REG_AMBIENT_PARAMETER (0x84) |
◆ VCNL40X0_REG_AMBIENT_VALUE
#define VCNL40X0_REG_AMBIENT_VALUE (0x85) |
◆ VCNL40X0_REG_COMMAND
#define VCNL40X0_REG_COMMAND (0x80) |
◆ VCNL40X0_REG_HIGH_THRES
#define VCNL40X0_REG_HIGH_THRES (0x8c) |
◆ VCNL40X0_REG_INTERRUPT_CONTROL
#define VCNL40X0_REG_INTERRUPT_CONTROL (0x89) |
◆ VCNL40X0_REG_INTERRUPT_LOW_THRES
#define VCNL40X0_REG_INTERRUPT_LOW_THRES (0x8a) |
◆ VCNL40X0_REG_INTERRUPT_STATUS
#define VCNL40X0_REG_INTERRUPT_STATUS (0x8e) |
◆ VCNL40X0_REG_PRODUCT_ID
#define VCNL40X0_REG_PRODUCT_ID (0x81) |
◆ VCNL40X0_REG_PROX_TIMING
#define VCNL40X0_REG_PROX_TIMING (0xf9) |
◆ VCNL40X0_REG_PROXIMITY_CURRENT
#define VCNL40X0_REG_PROXIMITY_CURRENT (0x83) |
◆ VCNL40X0_REG_PROXIMITY_RATE
#define VCNL40X0_REG_PROXIMITY_RATE (0x82) |
◆ VCNL40X0_REG_PROXIMITY_VALUE
#define VCNL40X0_REG_PROXIMITY_VALUE (0x87) |