Zephyr API Documentation 4.5.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
16#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_
17#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_
18
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
31
45
55
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TSL2540_H_ */
@ SENSOR_ATTR_INTEGRATION_TIME
Sensor automatic measurement mode, one of sensor_measurement_interval_hdc302x.
Definition ti_hdc302x.h:43
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
sensor_attribute_tsl2540
Custom sensor attributes for TSL2540.
Definition tsl2540.h:33
sensor_gain_tsl2540
Gain values for the TSL2540 SENSOR_ATTR_GAIN attribute.
Definition tsl2540.h:47
@ SENSOR_ATTR_INT_APERS
Sensor ALS interrupt persistence filter.
Definition tsl2540.h:37
@ SENSOR_ATTR_TSL2540_CONTINUOUS_MODE
Turn on continuous conversion.
Definition tsl2540.h:41
@ SENSOR_ATTR_TSL2540_CONTINUOUS_NO_WAIT_MODE
Turn on continuous conversion without wait.
Definition tsl2540.h:43
@ SENSOR_ATTR_TSL2540_SHUTDOWN_MODE
Shut down the sensor.
Definition tsl2540.h:39
@ TSL2540_SENSOR_GAIN_1
Gain 1x.
Definition tsl2540.h:49
@ TSL2540_SENSOR_GAIN_1_2
Gain 1/2x.
Definition tsl2540.h:48
@ TSL2540_SENSOR_GAIN_64
Gain 64x.
Definition tsl2540.h:52
@ TSL2540_SENSOR_GAIN_4
Gain 4x.
Definition tsl2540.h:50
@ TSL2540_SENSOR_GAIN_16
Gain 16x.
Definition tsl2540.h:51
@ TSL2540_SENSOR_GAIN_128
Gain 128x.
Definition tsl2540.h:53
Main header file for sensor driver API.