proximity17 2.0.0.0
|
Settings for registers of Proximity 17 Click driver. More...
Settings for registers of Proximity 17 Click driver.
#define PROXIMITY17_APC_DISABLE 0x7F |
#define PROXIMITY17_APC_ENABLE 0x3F |
Proximity 17 CFG6 register setting.
Specified setting for CFG6 register of Proximity 17 Click driver.
#define PROXIMITY17_AUTO_OFFSET_ADJ 0x08 |
#define PROXIMITY17_BINSRCH_TARGET_127 0xA0 |
#define PROXIMITY17_BINSRCH_TARGET_15 0x40 |
#define PROXIMITY17_BINSRCH_TARGET_255 0xC0 |
#define PROXIMITY17_BINSRCH_TARGET_3 0x00 |
Proximity 17 CALIBCFG register setting.
Specified setting for CALIBCFG register of Proximity 17 Click driver.
#define PROXIMITY17_BINSRCH_TARGET_31 0x60 |
#define PROXIMITY17_BINSRCH_TARGET_511 0xE0 |
#define PROXIMITY17_BINSRCH_TARGET_63 0x80 |
#define PROXIMITY17_BINSRCH_TARGET_7 0x20 |
#define PROXIMITY17_CALAVG 0x80 |
Proximity 17 CALIB register setting.
Specified setting for CALIB register of Proximity 17 Click driver.
#define PROXIMITY17_CALIB_FINISHED 0x01 |
#define PROXIMITY17_CALIBCFG_RESERVED 0x10 |
#define PROXIMITY17_CALPRATE 0x10 |
#define PROXIMITY17_DEVICE_ADDRESS 0x39 |
Proximity 17 device address setting.
Specified setting for device slave address selection of Proximity 17 Click driver.
#define PROXIMITY17_DEVICE_ID 0x44 |
Proximity 17 device ID value.
Specified value of device ID of Proximity 17 Click driver.
#define PROXIMITY17_ELECTRICAL_CALIB 0x20 |
#define PROXIMITY17_ENABLE_PEN 0x04 |
#define PROXIMITY17_ENABLE_PON 0x01 |
#define PROXIMITY17_ENABLE_PWEN 0x10 |
Proximity 17 ENABLE register setting.
Specified setting for ENABLE register of Proximity 17 Click driver.
#define PROXIMITY17_INTENAB_CIEN 0x04 |
#define PROXIMITY17_INTENAB_DISABLE 0x00 |
#define PROXIMITY17_INTENAB_PIEN 0x10 |
#define PROXIMITY17_INTENAB_PIM 0x20 |
Proximity 17 INTENAB register setting.
Specified setting for INTENAB register of Proximity 17 Click driver.
#define PROXIMITY17_INTENAB_PSIEN 0x08 |
#define PROXIMITY17_INTENAB_ZIEN 0x02 |
#define PROXIMITY17_OFFSET_ADJUSTED 0x04 |
Proximity 17 CALIBSTAT register setting.
Specified setting for CALIBSTAT register of Proximity 17 Click driver.
#define PROXIMITY17_PDSELECT_BOTH_PDIODE 0x03 |
#define PROXIMITY17_PDSELECT_FAR_PDIODE 0x01 |
#define PROXIMITY17_PDSELECT_NEAR_PDIODE 0x02 |
#define PROXIMITY17_PDSELECT_NO_PDIODE 0x00 |
Proximity 17 CFG8 register setting.
Specified setting for CFG8 register of Proximity 17 Click driver.
#define PROXIMITY17_PGAIN_1X 0x00 |
Proximity 17 PCFG0 register setting.
Specified setting for PCFG0 register of Proximity 17 Click driver.
#define PROXIMITY17_PGAIN_2X 0x40 |
#define PROXIMITY17_PGAIN_4X 0x80 |
#define PROXIMITY17_PGAIN_8X 0xC0 |
#define PROXIMITY17_PLDRIVE_10mA 0x08 |
#define PROXIMITY17_PLDRIVE_2mA 0x00 |
#define PROXIMITY17_PLDRIVE_3mA 0x01 |
#define PROXIMITY17_PLDRIVE_4mA 0x02 |
#define PROXIMITY17_PLDRIVE_5mA 0x03 |
#define PROXIMITY17_PLDRIVE_6mA 0x04 |
#define PROXIMITY17_PLDRIVE_7mA 0x05 |
#define PROXIMITY17_PLDRIVE_8mA 0x06 |
#define PROXIMITY17_PLDRIVE_9mA 0x07 |
#define PROXIMITY17_PPULSE_DEFAULT 0x0F |
#define PROXIMITY17_PPULSE_LEN_12US 0x80 |
#define PROXIMITY17_PPULSE_LEN_16US 0xA0 |
#define PROXIMITY17_PPULSE_LEN_1US 0x00 |
Proximity 17 PCFG1 register setting.
Specified setting for PCFG1 register of Proximity 17 Click driver.
#define PROXIMITY17_PPULSE_LEN_24US 0xC0 |
#define PROXIMITY17_PPULSE_LEN_2US 0x20 |
#define PROXIMITY17_PPULSE_LEN_32US 0xE0 |
#define PROXIMITY17_PPULSE_LEN_4US 0x40 |
#define PROXIMITY17_PPULSE_LEN_8US 0x60 |
#define PROXIMITY17_PPULSE_MAX 0x3F |
#define PROXIMITY17_PPULSE_MIN 0x00 |
#define PROXIMITY17_PROX_AVG_128 0x07 |
#define PROXIMITY17_PROX_AVG_16 0x04 |
#define PROXIMITY17_PROX_AVG_2 0x01 |
#define PROXIMITY17_PROX_AVG_32 0x05 |
#define PROXIMITY17_PROX_AVG_4 0x02 |
#define PROXIMITY17_PROX_AVG_64 0x06 |
#define PROXIMITY17_PROX_AVG_8 0x03 |
#define PROXIMITY17_PROX_AVG_DISABLE 0x00 |
#define PROXIMITY17_SOFT_RESET 0x01 |
Proximity 17 SOFTRST register setting.
Specified setting for SOFTRST register of Proximity 17 Click driver.
#define PROXIMITY17_START_OFFSET_CAL 0x01 |
#define PROXIMITY17_STATUS_CINT 0x08 |
#define PROXIMITY17_STATUS_CLEAR_ALL 0xFF |
#define PROXIMITY17_STATUS_PHIGH 0x80 |
Proximity 17 STATUS register setting.
Specified setting for STATUS register of Proximity 17 Click driver.
#define PROXIMITY17_STATUS_PINT 0x10 |
#define PROXIMITY17_STATUS_PLOW 0x40 |
#define PROXIMITY17_STATUS_PSAT 0x20 |
#define PROXIMITY17_STATUS_PSAT_AMBIENT 0x01 |
#define PROXIMITY17_STATUS_PSAT_REFLECTIVE 0x02 |
#define PROXIMITY17_STATUS_ZINT 0x04 |