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