Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Avago APDS9960 ambient light, RGB, proximity and gesture sensor. More...

Files

file  apds9960.h
 Header file for extended sensor API of APDS9960 sensor.

Enumerations

enum  sensor_channel_apds9960 { SENSOR_CHAN_APDS9960_GESTURE = SENSOR_CHAN_PRIV_START }
 Custom sensor channels for the APDS9960. More...
enum  apds9960_gesture {
  APDS9960_GESTURE_NONE , APDS9960_GESTURE_UP , APDS9960_GESTURE_DOWN , APDS9960_GESTURE_LEFT ,
  APDS9960_GESTURE_RIGHT
}
 Gesture values reported in sensor_value.val1 of the SENSOR_CHAN_APDS9960_GESTURE channel. More...

Detailed Description

Avago APDS9960 ambient light, RGB, proximity and gesture sensor.

Enumeration Type Documentation

◆ apds9960_gesture

#include <zephyr/drivers/sensor/apds9960.h>

Gesture values reported in sensor_value.val1 of the SENSOR_CHAN_APDS9960_GESTURE channel.

Enumerator
APDS9960_GESTURE_NONE 

No gesture detected.

APDS9960_GESTURE_UP 

Upward gesture (hand moving up across the sensor).

APDS9960_GESTURE_DOWN 

Downward gesture (hand moving down across the sensor).

APDS9960_GESTURE_LEFT 

Leftward gesture (hand moving left across the sensor).

APDS9960_GESTURE_RIGHT 

Rightward gesture (hand moving right across the sensor).

◆ sensor_channel_apds9960

#include <zephyr/drivers/sensor/apds9960.h>

Custom sensor channels for the APDS9960.

Enumerator
SENSOR_CHAN_APDS9960_GESTURE 

Most recently detected gesture.