Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
paj7620.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Paul Timke <ptimkec@live.com>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
15
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAJ7620_H_
16
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAJ7620_H_
17
18
#ifdef __cplusplus
19
extern
"C"
20
{
21
#endif
/* __cplusplus */
22
23
#include <
zephyr/drivers/sensor.h
>
24
25
#define PAJ7620_FLAG_GES_UP BIT(0)
26
#define PAJ7620_FLAG_GES_DOWN BIT(1)
27
#define PAJ7620_FLAG_GES_LEFT BIT(2)
28
#define PAJ7620_FLAG_GES_RIGHT BIT(3)
29
#define PAJ7620_FLAG_GES_FORWARD BIT(4)
30
#define PAJ7620_FLAG_GES_BACKWARD BIT(5)
31
#define PAJ7620_FLAG_GES_CLOCKWISE BIT(6)
32
#define PAJ7620_FLAG_GES_COUNTERCLOCKWISE BIT(7)
33
#define PAJ7620_FLAG_GES_WAVE BIT(8)
34
35
enum
sensor_channel_paj7620
{
42
SENSOR_CHAN_PAJ7620_GESTURES
=
SENSOR_CHAN_PRIV_START
43
};
35
enum
sensor_channel_paj7620
{
…
};
44
45
#ifdef __cplusplus
46
}
47
#endif
/* __cplusplus */
48
49
#endif
/* ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAJ7620_H_ */
SENSOR_CHAN_PRIV_START
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition
sensor.h:217
sensor_channel_paj7620
sensor_channel_paj7620
Definition
paj7620.h:35
SENSOR_CHAN_PAJ7620_GESTURES
@ SENSOR_CHAN_PAJ7620_GESTURES
This channel will contain gesture data as a bitmask where each set bit represents a detected gesture.
Definition
paj7620.h:42
sensor.h
Public APIs for the sensor driver.
zephyr
drivers
sensor
paj7620.h
Generated on Sun May 18 2025 03:27:05 for Zephyr API Documentation by
1.12.0