proximity9 2.0.0.0
Proximity configuration

Macros

#define PROXIMITY9_PS_IR_ON_1_OFF_40   0x00
 
#define PROXIMITY9_PS_IR_ON_1_OFF_80   0x40
 
#define PROXIMITY9_PS_IR_ON_1_OFF_160   0x80
 
#define PROXIMITY9_PS_IR_ON_1_OFF_320   0xC0
 
#define PROXIMITY9_PS_PERS_1   0x00
 
#define PROXIMITY9_PS_PERS_2   0x10
 
#define PROXIMITY9_PS_PERS_3   0x20
 
#define PROXIMITY9_PS_PERS_4   0x30
 
#define PROXIMITY9_PS_IT_1T   0x00
 
#define PROXIMITY9_PS_IT_1T5   0x02
 
#define PROXIMITY9_PS_IT_2T   0x04
 
#define PROXIMITY9_PS_IT_2T5   0x06
 
#define PROXIMITY9_PS_IT_3T   0x08
 
#define PROXIMITY9_PS_IT_3T5   0x0A
 
#define PROXIMITY9_PS_IT_4T   0x0C
 
#define PROXIMITY9_PS_IT_8T   0x0E
 
#define PROXIMITY9_PS_SHUTDOWN   0x01
 
#define PROXIMITY9_PS_OUTPUT_12BIT   0x0000
 
#define PROXIMITY9_PS_OUTPUT_16BIT   0x0800
 
#define PROXIMITY9_PS_INT_TRIGGER_CLOSE   0x0100
 
#define PROXIMITY9_PS_INT_TRIGGER_AWAY   0x0200
 
#define PROXIMITY9_PS_INT_TRIGGER_BOTH   0x0300
 

Detailed Description

Macro Definition Documentation

◆ PROXIMITY9_PS_INT_TRIGGER_AWAY

#define PROXIMITY9_PS_INT_TRIGGER_AWAY   0x0200

◆ PROXIMITY9_PS_INT_TRIGGER_BOTH

#define PROXIMITY9_PS_INT_TRIGGER_BOTH   0x0300

◆ PROXIMITY9_PS_INT_TRIGGER_CLOSE

#define PROXIMITY9_PS_INT_TRIGGER_CLOSE   0x0100

◆ PROXIMITY9_PS_IR_ON_1_OFF_160

#define PROXIMITY9_PS_IR_ON_1_OFF_160   0x80

◆ PROXIMITY9_PS_IR_ON_1_OFF_320

#define PROXIMITY9_PS_IR_ON_1_OFF_320   0xC0

◆ PROXIMITY9_PS_IR_ON_1_OFF_40

#define PROXIMITY9_PS_IR_ON_1_OFF_40   0x00

◆ PROXIMITY9_PS_IR_ON_1_OFF_80

#define PROXIMITY9_PS_IR_ON_1_OFF_80   0x40

◆ PROXIMITY9_PS_IT_1T

#define PROXIMITY9_PS_IT_1T   0x00

◆ PROXIMITY9_PS_IT_1T5

#define PROXIMITY9_PS_IT_1T5   0x02

◆ PROXIMITY9_PS_IT_2T

#define PROXIMITY9_PS_IT_2T   0x04

◆ PROXIMITY9_PS_IT_2T5

#define PROXIMITY9_PS_IT_2T5   0x06

◆ PROXIMITY9_PS_IT_3T

#define PROXIMITY9_PS_IT_3T   0x08

◆ PROXIMITY9_PS_IT_3T5

#define PROXIMITY9_PS_IT_3T5   0x0A

◆ PROXIMITY9_PS_IT_4T

#define PROXIMITY9_PS_IT_4T   0x0C

◆ PROXIMITY9_PS_IT_8T

#define PROXIMITY9_PS_IT_8T   0x0E

◆ PROXIMITY9_PS_OUTPUT_12BIT

#define PROXIMITY9_PS_OUTPUT_12BIT   0x0000

◆ PROXIMITY9_PS_OUTPUT_16BIT

#define PROXIMITY9_PS_OUTPUT_16BIT   0x0800

◆ PROXIMITY9_PS_PERS_1

#define PROXIMITY9_PS_PERS_1   0x00

◆ PROXIMITY9_PS_PERS_2

#define PROXIMITY9_PS_PERS_2   0x10

◆ PROXIMITY9_PS_PERS_3

#define PROXIMITY9_PS_PERS_3   0x20

◆ PROXIMITY9_PS_PERS_4

#define PROXIMITY9_PS_PERS_4   0x30

◆ PROXIMITY9_PS_SHUTDOWN

#define PROXIMITY9_PS_SHUTDOWN   0x01