summaryrefslogtreecommitdiff
path: root/driver/als_opt3001.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/als_opt3001.h')
-rw-r--r--driver/als_opt3001.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/als_opt3001.h b/driver/als_opt3001.h
index b70909f630..9850dfe723 100644
--- a/driver/als_opt3001.h
+++ b/driver/als_opt3001.h
@@ -36,6 +36,10 @@ enum opt3001_mode {
#define OPT3001_MANUFACTURER_ID 0x5449
#define OPT3001_DEVICE_ID 0x3001
+/* Min and Max sampling frequency in mHz */
+#define OPT3001_LIGHT_MIN_FREQ 1250
+#define OPT3001_LIGHT_MAX_FREQ 10000
+
#ifdef HAS_TASK_ALS
int opt3001_init(void);
int opt3001_read_lux(int *lux, int af);