Zephyr API Documentation 4.0.0-rc2
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 Integration Time (in ms) */
27 /* Sensor ALS interrupt persistence filters */
29 /* Shutdown the sensor */
31 /* Turn on continuous conversion */
33 /* Turn on continuous conversion without wait */
35};
36
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:359
Public APIs for the sensor driver.
sensor_attribute_tsl2540
Definition tsl2540.h:24
@ SENSOR_ATTR_INT_APERS
Definition tsl2540.h:28
@ SENSOR_ATTR_TSL2540_CONTINUOUS_MODE
Definition tsl2540.h:32
@ SENSOR_ATTR_INTEGRATION_TIME
Definition tsl2540.h:26
@ SENSOR_ATTR_TSL2540_CONTINUOUS_NO_WAIT_MODE
Definition tsl2540.h:34
@ SENSOR_ATTR_TSL2540_SHUTDOWN_MODE
Definition tsl2540.h:30
sensor_gain_tsl2540
Definition tsl2540.h:37
@ TSL2540_SENSOR_GAIN_1
Definition tsl2540.h:39
@ TSL2540_SENSOR_GAIN_1_2
Definition tsl2540.h:38
@ TSL2540_SENSOR_GAIN_64
Definition tsl2540.h:42
@ TSL2540_SENSOR_GAIN_4
Definition tsl2540.h:40
@ TSL2540_SENSOR_GAIN_16
Definition tsl2540.h:41
@ TSL2540_SENSOR_GAIN_128
Definition tsl2540.h:43