Lines Matching +full:0 +full:xab
13 #define APDS9960_ENABLE_REG 0x80
20 #define APDS9960_ENABLE_PON BIT(0)
22 #define APDS9960_ATIME_REG 0x81
23 #define APDS9960_WTIME_REG 0x83
24 #define APDS9960_INT_AILTL_REG 0x84
25 #define APDS9960_INT_AILTH_REG 0x85
26 #define APDS9960_INT_AIHTL_REG 0x86
27 #define APDS9960_INT_AIHTH_REG 0x87
28 #define APDS9960_PILT_REG 0x89
29 #define APDS9960_PIHT_REG 0x8B
31 #define APDS9960_PERS_REG 0x8C
33 #define APDS9960_APERS_MASK (BIT(0) | BIT(1) | BIT(2) | BIT(3))
35 #define APDS9960_CONFIG1_REG 0x8D
38 #define APDS9960_PPULSE_REG 0x8E
39 #define APDS9960_PPULSE_LENGTH_4US 0
44 #define APDS9960_CONTROL_REG 0x8F
47 #define APDS9960_CONTROL_AGAIN (BIT(0) | BIT(1))
49 #define APDS9960_LED_DRIVE_100MA 0
54 #define APDS9960_PGAIN_1X 0
59 #define APDS9960_AGAIN_1X 0
60 #define APDS9960_AGAIN_4X BIT(0)
62 #define APDS9960_AGAIN_64X (BIT(0) | BIT(1))
64 #define APDS9960_CONFIG2_REG 0x90
68 #define APDS9960_PLED_BOOST_100 0
73 #define APDS9960_ID_REG 0x92
75 #define APDS9960_ID_1 0xAB
76 #define APDS9960_ID_2 0x9C
78 #define APDS9960_STATUS_REG 0x93
85 #define APDS9960_STATUS_AVALID BIT(0)
87 #define APDS9960_CDATAL_REG 0x94
88 #define APDS9960_CDATAH_REG 0x95
89 #define APDS9960_RDATAL_REG 0x96
90 #define APDS9960_RDATAH_REG 0x97
91 #define APDS9960_GDATAL_REG 0x98
92 #define APDS9960_GDATAH_REG 0x99
93 #define APDS9960_BDATAL_REG 0x9A
94 #define APDS9960_BDATAH_REG 0x9B
95 #define APDS9960_PDATA_REG 0x9C
97 #define APDS9960_POFFSET_UR_REG 0x9D
98 #define APDS9960_POFFSET_DL_REG 0x9E
100 #define APDS9960_CONFIG3_REG 0x9F
106 #define APDS9960_CONFIG3_PMSK_R BIT(0)
108 #define APDS9960_GPENTH_REG 0xA0
109 #define APDS9960_GEXTH_REG 0xA1
111 #define APDS9960_GCONFIG1_REG 0xA2
114 #define APDS9960_GCONFIG1_GEXPERS (BIT(1) | BIT(0))
116 #define APDS9960_GCONFIG2_REG 0xA3
119 #define APDS9960_GCONFIG2_WTIME (BIT(2) | BIT(1) | BIT(0))
121 #define APDS9960_GGAIN_1X 0
126 #define APDS9960_LED_GDRIVE_100MA 0
131 #define APDS9960_GWTIME_0MS 0
140 #define APDS9960_GOFFSET_U_REG 0xA4
141 #define APDS9960_GOFFSET_D_REG 0xA5
142 #define APDS9960_GOFFSET_L_REG 0xA7
143 #define APDS9960_GOFFSET_R_REG 0xA9
145 #define APDS9960_GPULSE_REG 0xA6
148 BIT(2) | BIT(1) | BIT(0))
150 #define APDS9960_GPLEN_0US 0
155 #define APDS9960_GCONFIG3_REG 0xAA
156 #define APDS9960_GCONFIG3_GDIMS (BIT(1) | BIT(0))
159 #define APDS9960_GCONFIG4_REG 0xAB
162 #define APDS9960_GCONFIG4_GMODE BIT(0)
164 #define APDS9960_GFLVL_REG 0xAE
166 #define APDS9960_GSTATUS_REG 0xAF
168 #define APDS9960_GSTATUS_GVALID BIT(0)
170 #define APDS9960_IFORCE_REG 0xE4
171 #define APDS9960_PICLEAR_REG 0xE5
172 #define APDS9960_CICLEAR_REG 0xE6
173 #define APDS9960_AICLEAR_REG 0xE7
175 #define APDS9960_GFIFO_U_REG 0xFC
176 #define APDS9960_GFIFO_D_REG 0xFD
177 #define APDS9960_GFIFO_L_REG 0xFE
178 #define APDS9960_GFIFO_R_REG 0xFF
183 #define APDS9960_DEFAULT_CONFIG1 0x60
185 #define APDS9960_DEFAULT_CONFIG2 (BIT(6) | BIT(0))
186 #define APDS9960_DEFAULT_GESTURE_PPULSE 0x89
187 #define APDS9960_DEFAULT_POFFSET_UR 0
188 #define APDS9960_DEFAULT_POFFSET_DL 0
192 #define APDS9960_DEFAULT_PILT 0
196 #define APDS9960_DEFAULT_CONFIG3 0
198 #define APDS9960_DEFAULT_PILT 0
200 #define APDS9960_DEFAULT_AILT 0xFFFF
201 #define APDS9960_DEFAULT_AIHT 0
207 #define APDS9960_DEFAULT_GCONF1 0x40
211 #define APDS9960_DEFAULT_GOFFSET 0
212 #define APDS9960_DEFAULT_GPULSE 0xC9
213 #define APDS9960_DEFAULT_GCONF3 0