CCIMXDesktop
 
Loading...
Searching...
No Matches
ap3216c.h
1#ifndef AP3216C_H
2#define AP3216C_H
3
5#define AP3216CData_INVALID_VALUE (0)
6
9typedef struct {
10 unsigned short ir;
11 unsigned short als;
12 unsigned short ps;
14
16static constexpr unsigned int MIN_IR_VALUE { 0 };
17static constexpr unsigned int MIN_ALS_VALUE { 0 };
18static constexpr unsigned int MIN_PS_VALUE { 0 };
19static constexpr unsigned int MAX_IR_VALUE { 1024 };
20static constexpr unsigned int MAX_ALS_VALUE { 65535 };
21static constexpr unsigned int MAX_PS_VALUE { 1024 };
22
23#endif // AP3216C_H
Stores the IR, ambient light, and proximity sensor data.
Definition ap3216c.h:9
unsigned short als
Ambient light sensor data.
Definition ap3216c.h:11
unsigned short ir
Infrared data.
Definition ap3216c.h:10
unsigned short ps
Proximity sensor data.
Definition ap3216c.h:12