Zephyr API Documentation  3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tsl2540.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 T-Mobile USA, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
15#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_
16#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
25 /* Sensor Gain */
27 /* Sensor Integration Time (in ms) */
29 /* Sensor ALS interrupt persistence filters */
31 /* Shutdown the sensor */
33 /* Turn on continuous conversion */
35 /* Turn on continuous conversion without wait */
37};
38
46};
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition: sensor.h:356
Public APIs for the sensor driver.
sensor_attribute_tsl2540
Definition: tsl2540.h:24
@ SENSOR_ATTR_INT_APERS
Definition: tsl2540.h:30
@ SENSOR_ATTR_GAIN
Definition: tsl2540.h:26
@ SENSOR_ATTR_TSL2540_CONTINUOUS_MODE
Definition: tsl2540.h:34
@ SENSOR_ATTR_INTEGRATION_TIME
Definition: tsl2540.h:28
@ SENSOR_ATTR_TSL2540_CONTINUOUS_NO_WAIT_MODE
Definition: tsl2540.h:36
@ SENSOR_ATTR_TSL2540_SHUTDOWN_MODE
Definition: tsl2540.h:32
sensor_gain_tsl2540
Definition: tsl2540.h:39
@ TSL2540_SENSOR_GAIN_1
Definition: tsl2540.h:41
@ TSL2540_SENSOR_GAIN_1_2
Definition: tsl2540.h:40
@ TSL2540_SENSOR_GAIN_64
Definition: tsl2540.h:44
@ TSL2540_SENSOR_GAIN_4
Definition: tsl2540.h:42
@ TSL2540_SENSOR_GAIN_16
Definition: tsl2540.h:43
@ TSL2540_SENSOR_GAIN_128
Definition: tsl2540.h:45