Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
19extern "C"
20{
21#endif /* __cplusplus */
22
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
44
45#ifdef __cplusplus
46}
47#endif /* __cplusplus */
48
49#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_PAJ7620_H_ */
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:217
sensor_channel_paj7620
Definition paj7620.h:35
@ 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
Public APIs for the sensor driver.