proximity10 2.0.0.0
Settings for Register Configurations

Macros

#define PROXIMITY10_INT_HOST_CLEAR   0x00
 
#define PROXIMITY10_INT_AUTO_CLEAR   0x02
 
#define PROXIMITY10_INT_PIN_EN   0x01
 
#define PROXIMITY10_CMD_INT_EN   0x20
 
#define PROXIMITY10_PS3_INT_EN   0x10
 
#define PROXIMITY10_PS2_INT_EN   0x08
 
#define PROXIMITY10_PS1_INT_EN   0x04
 
#define PROXIMITY10_ALS_INT1_EN   0x02
 
#define PROXIMITY10_ALS_INT0_EN   0x01
 
#define PROXIMITY10_ALL_INT_DIS   0x00
 
#define PROXIMITY10_PS2_INT_MEAS_COMPLETE   0x00
 
#define PROXIMITY10_PS2_INT_MEAS_CROSS_TH   0x40
 
#define PROXIMITY10_PS2_INT_MEAS_GREATER_TH   0xC0
 
#define PROXIMITY10_PS1_INT_MEAS_COMPLETE   0x00
 
#define PROXIMITY10_PS1_INT_MEAS_CROSS_TH   0x10
 
#define PROXIMITY10_PS1_INT_MEAS_GREATER_TH   0x30
 
#define PROXIMITY10_CMD_INT_RESP_WRITTEN   0x00
 
#define PROXIMITY10_CMD_INT_RESP_ERROR   0x04
 
#define PROXIMITY10_PS3_INT_MEAS_COMPLETE   0x00
 
#define PROXIMITY10_PS3_INT_MEAS_CROSS_TH   0x01
 
#define PROXIMITY10_PS3_INT_MEAS_GREATER_TH   0x03
 
#define PROXIMITY10_HW_KEY   0x17
 
#define PROXIMITY10_DEV_WAKEUP_EVERY_10MS   0x84
 
#define PROXIMITY10_DEV_WAKEUP_EVERY_20MS   0x94
 
#define PROXIMITY10_DEV_WAKEUP_EVERY_100MS   0xB9
 
#define PROXIMITY10_DEV_WAKEUP_EVERY_496MS   0xDF
 
#define PROXIMITY10_DEV_WAKEUP_EVERY_1984MS   0xFF
 
#define PROXIMITY10_AUTONOM_MEAS_DIS   0x00
 
#define PROXIMITY10_MEAS_AFTER_EVERY_WAKEUP   0x08
 
#define PROXIMITY10_MEAS_AFTER_10_TIMES_WAKEUP   0x32
 
#define PROXIMITY10_MEAS_AFTER_100_TIMES_WAKEUP   0x69
 
#define PROXIMITY10_LED_NO_CURRENT   0x00
 
#define PROXIMITY10_LED_MIN_CURRENT   0x01
 
#define PROXIMITY10_LED_MAX_CURRENT   0x0F
 

Detailed Description

Macro Definition Documentation

◆ PROXIMITY10_ALL_INT_DIS

#define PROXIMITY10_ALL_INT_DIS   0x00

◆ PROXIMITY10_ALS_INT0_EN

#define PROXIMITY10_ALS_INT0_EN   0x01

◆ PROXIMITY10_ALS_INT1_EN

#define PROXIMITY10_ALS_INT1_EN   0x02

◆ PROXIMITY10_AUTONOM_MEAS_DIS

#define PROXIMITY10_AUTONOM_MEAS_DIS   0x00

◆ PROXIMITY10_CMD_INT_EN

#define PROXIMITY10_CMD_INT_EN   0x20

◆ PROXIMITY10_CMD_INT_RESP_ERROR

#define PROXIMITY10_CMD_INT_RESP_ERROR   0x04

◆ PROXIMITY10_CMD_INT_RESP_WRITTEN

#define PROXIMITY10_CMD_INT_RESP_WRITTEN   0x00

◆ PROXIMITY10_DEV_WAKEUP_EVERY_100MS

#define PROXIMITY10_DEV_WAKEUP_EVERY_100MS   0xB9

◆ PROXIMITY10_DEV_WAKEUP_EVERY_10MS

#define PROXIMITY10_DEV_WAKEUP_EVERY_10MS   0x84

◆ PROXIMITY10_DEV_WAKEUP_EVERY_1984MS

#define PROXIMITY10_DEV_WAKEUP_EVERY_1984MS   0xFF

◆ PROXIMITY10_DEV_WAKEUP_EVERY_20MS

#define PROXIMITY10_DEV_WAKEUP_EVERY_20MS   0x94

◆ PROXIMITY10_DEV_WAKEUP_EVERY_496MS

#define PROXIMITY10_DEV_WAKEUP_EVERY_496MS   0xDF

◆ PROXIMITY10_HW_KEY

#define PROXIMITY10_HW_KEY   0x17

◆ PROXIMITY10_INT_AUTO_CLEAR

#define PROXIMITY10_INT_AUTO_CLEAR   0x02

◆ PROXIMITY10_INT_HOST_CLEAR

#define PROXIMITY10_INT_HOST_CLEAR   0x00

◆ PROXIMITY10_INT_PIN_EN

#define PROXIMITY10_INT_PIN_EN   0x01

◆ PROXIMITY10_LED_MAX_CURRENT

#define PROXIMITY10_LED_MAX_CURRENT   0x0F

◆ PROXIMITY10_LED_MIN_CURRENT

#define PROXIMITY10_LED_MIN_CURRENT   0x01

◆ PROXIMITY10_LED_NO_CURRENT

#define PROXIMITY10_LED_NO_CURRENT   0x00

◆ PROXIMITY10_MEAS_AFTER_100_TIMES_WAKEUP

#define PROXIMITY10_MEAS_AFTER_100_TIMES_WAKEUP   0x69

◆ PROXIMITY10_MEAS_AFTER_10_TIMES_WAKEUP

#define PROXIMITY10_MEAS_AFTER_10_TIMES_WAKEUP   0x32

◆ PROXIMITY10_MEAS_AFTER_EVERY_WAKEUP

#define PROXIMITY10_MEAS_AFTER_EVERY_WAKEUP   0x08

◆ PROXIMITY10_PS1_INT_EN

#define PROXIMITY10_PS1_INT_EN   0x04

◆ PROXIMITY10_PS1_INT_MEAS_COMPLETE

#define PROXIMITY10_PS1_INT_MEAS_COMPLETE   0x00

◆ PROXIMITY10_PS1_INT_MEAS_CROSS_TH

#define PROXIMITY10_PS1_INT_MEAS_CROSS_TH   0x10

◆ PROXIMITY10_PS1_INT_MEAS_GREATER_TH

#define PROXIMITY10_PS1_INT_MEAS_GREATER_TH   0x30

◆ PROXIMITY10_PS2_INT_EN

#define PROXIMITY10_PS2_INT_EN   0x08

◆ PROXIMITY10_PS2_INT_MEAS_COMPLETE

#define PROXIMITY10_PS2_INT_MEAS_COMPLETE   0x00

◆ PROXIMITY10_PS2_INT_MEAS_CROSS_TH

#define PROXIMITY10_PS2_INT_MEAS_CROSS_TH   0x40

◆ PROXIMITY10_PS2_INT_MEAS_GREATER_TH

#define PROXIMITY10_PS2_INT_MEAS_GREATER_TH   0xC0

◆ PROXIMITY10_PS3_INT_EN

#define PROXIMITY10_PS3_INT_EN   0x10

◆ PROXIMITY10_PS3_INT_MEAS_COMPLETE

#define PROXIMITY10_PS3_INT_MEAS_COMPLETE   0x00

◆ PROXIMITY10_PS3_INT_MEAS_CROSS_TH

#define PROXIMITY10_PS3_INT_MEAS_CROSS_TH   0x01

◆ PROXIMITY10_PS3_INT_MEAS_GREATER_TH

#define PROXIMITY10_PS3_INT_MEAS_GREATER_TH   0x03