Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tmp108.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021, Jimmy Johnson <catch22@fastmail.net>
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 OVER_TEMP_MASK 0x1000U
35
37#define UNDER_TEMP_MASK 0x0800U
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP108_H_ */
@ SENSOR_ATTR_PRIV_START
Definition: sensor.h:320
sensor_attribute_tmp_108
Definition: tmp108.h:22
@ SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE
Definition: tmp108.h:28
@ SENSOR_ATTR_TMP108_ALERT_POLARITY
Definition: tmp108.h:30
@ SENSOR_ATTR_TMP108_SHUTDOWN_MODE
Definition: tmp108.h:26
@ SENSOR_ATTR_TMP108_ONE_SHOT_MODE
Definition: tmp108.h:24