|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Broadcom APDS9253 RGB and ambient light sensor. More...
Files | |
| file | apds9253.h |
| Devicetree binding constants for the Broadcom APDS9253 light sensor. | |
ADC resolution and integration time | |
Values for the resolution devicetree property. | |
| #define | APDS9253_RESOLUTION_20BIT_400MS 0 |
| 20-bit, 400 ms | |
| #define | APDS9253_RESOLUTION_19BIT_200MS BIT(4) |
| 19-bit, 200 ms | |
| #define | APDS9253_RESOLUTION_18BIT_100MS BIT(5) |
| 18-bit, 100 ms (default) | |
| #define | APDS9253_RESOLUTION_17BIT_50MS (BIT(5) | BIT(4)) |
| 17-bit, 50 ms | |
| #define | APDS9253_RESOLUTION_16BIT_25MS BIT(6) |
| 16-bit, 25 ms | |
| #define | APDS9253_RESOLUTION_13BIT_3MS (BIT(6) | BIT(4)) |
| 13-bit, 3 ms | |
Measurement rate | |
Values for the rate devicetree property. | |
| #define | APDS9253_MEASUREMENT_RATE_2000MS (BIT(2) | BIT(1) | BIT(0)) |
| 2000 ms | |
| #define | APDS9253_MEASUREMENT_RATE_1000MS (BIT(2) | BIT(0)) |
| 1000 ms | |
| #define | APDS9253_MEASUREMENT_RATE_500MS BIT(2) |
| 500 ms | |
| #define | APDS9253_MEASUREMENT_RATE_200MS (BIT(1) | BIT(0)) |
| 200 ms | |
| #define | APDS9253_MEASUREMENT_RATE_100MS BIT(1) |
| 100 ms (default) | |
| #define | APDS9253_MEASUREMENT_RATE_50MS BIT(0) |
| 50 ms | |
| #define | APDS9253_MEASUREMENT_RATE_25MS 0 |
| 25 ms | |
Gain range | |
Values for the gain devicetree property. | |
| #define | APDS9253_GAIN_RANGE_18 BIT(2) |
| 18x gain | |
| #define | APDS9253_GAIN_RANGE_9 (BIT(1) | BIT(0)) |
| 9x gain | |
| #define | APDS9253_GAIN_RANGE_6 BIT(1) |
| 6x gain | |
| #define | APDS9253_GAIN_RANGE_3 BIT(0) |
| 3x gain (default) | |
| #define | APDS9253_GAIN_RANGE_1 0 |
| 1x gain | |
Broadcom APDS9253 RGB and ambient light sensor.
| #define APDS9253_GAIN_RANGE_1 0 |
#include <zephyr/dt-bindings/sensor/apds9253.h>
1x gain
| #define APDS9253_GAIN_RANGE_18 BIT(2) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
18x gain
| #define APDS9253_GAIN_RANGE_3 BIT(0) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
3x gain (default)
| #define APDS9253_GAIN_RANGE_6 BIT(1) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
6x gain
#include <zephyr/dt-bindings/sensor/apds9253.h>
9x gain
#include <zephyr/dt-bindings/sensor/apds9253.h>
1000 ms
| #define APDS9253_MEASUREMENT_RATE_100MS BIT(1) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
100 ms (default)
#include <zephyr/dt-bindings/sensor/apds9253.h>
2000 ms
#include <zephyr/dt-bindings/sensor/apds9253.h>
200 ms
| #define APDS9253_MEASUREMENT_RATE_25MS 0 |
#include <zephyr/dt-bindings/sensor/apds9253.h>
25 ms
| #define APDS9253_MEASUREMENT_RATE_500MS BIT(2) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
500 ms
| #define APDS9253_MEASUREMENT_RATE_50MS BIT(0) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
50 ms
#include <zephyr/dt-bindings/sensor/apds9253.h>
13-bit, 3 ms
| #define APDS9253_RESOLUTION_16BIT_25MS BIT(6) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
16-bit, 25 ms
#include <zephyr/dt-bindings/sensor/apds9253.h>
17-bit, 50 ms
| #define APDS9253_RESOLUTION_18BIT_100MS BIT(5) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
18-bit, 100 ms (default)
| #define APDS9253_RESOLUTION_19BIT_200MS BIT(4) |
#include <zephyr/dt-bindings/sensor/apds9253.h>
19-bit, 200 ms
| #define APDS9253_RESOLUTION_20BIT_400MS 0 |
#include <zephyr/dt-bindings/sensor/apds9253.h>
20-bit, 400 ms