Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmp108.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021, Jimmy Johnson <[email protected]>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
15#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_
16#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
31};
32
34#define TMP108_OVER_TEMP_MASK 0x1000U
35
37#define TMP108_UNDER_TEMP_MASK 0x0800U
38
40#define A6212_ALERT_TEMP_MASK 0x0020U
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition: sensor.h:354
sensor_attribute_tmp_108
Definition: tmp108.h:22
@ SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE
Turn on continuous conversion.
Definition: tmp108.h:28
@ SENSOR_ATTR_TMP108_ALERT_POLARITY
Set the alert pin polarity.
Definition: tmp108.h:30
@ SENSOR_ATTR_TMP108_SHUTDOWN_MODE
Shutdown the sensor.
Definition: tmp108.h:26
@ SENSOR_ATTR_TMP108_ONE_SHOT_MODE
Turn on power saving/one shot mode.
Definition: tmp108.h:24