Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
apds9960.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Intel Corporation
3 * Copyright (c) 2018 PHYTEC Messtechnik GmbH
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_APDS9960_H_
9#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_APDS9960_H_
10
16
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
29
42
59
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_APDS9960_H_ */
apds9960_gesture
Gesture values reported in sensor_value.val1 of the SENSOR_CHAN_APDS9960_GESTURE channel.
Definition apds9960.h:47
sensor_channel_apds9960
Custom sensor channels for the APDS9960.
Definition apds9960.h:33
@ APDS9960_GESTURE_UP
Upward gesture (hand moving up across the sensor).
Definition apds9960.h:51
@ APDS9960_GESTURE_DOWN
Downward gesture (hand moving down across the sensor).
Definition apds9960.h:53
@ APDS9960_GESTURE_LEFT
Leftward gesture (hand moving left across the sensor).
Definition apds9960.h:55
@ APDS9960_GESTURE_NONE
No gesture detected.
Definition apds9960.h:49
@ APDS9960_GESTURE_RIGHT
Rightward gesture (hand moving right across the sensor).
Definition apds9960.h:57
@ SENSOR_CHAN_APDS9960_GESTURE
Most recently detected gesture.
Definition apds9960.h:40
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:247
Main header file for sensor driver API.