Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmp451.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Open Device Partnership and Contributors
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
15
16#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP451_H_
17#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP451_H_
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
29
31
43
71
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TMP451_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:443
sensor_attribute_tmp451
Custom sensor attributes for TMP451.
Definition tmp451.h:35
tmp451_conversion_rate
Conversion rates in micro-Hz for use with SENSOR_ATTR_SAMPLING_FREQUENCY.
Definition tmp451.h:49
@ SENSOR_ATTR_TMP451_SHUTDOWN_MODE
Put the sensor into shutdown mode (no conversions).
Definition tmp451.h:41
@ SENSOR_ATTR_TMP451_ONE_SHOT_MODE
Put the sensor into one-shot (shutdown + convert on demand) mode.
Definition tmp451.h:37
@ SENSOR_ATTR_TMP451_CONTINUOUS_MODE
Put the sensor into continuous conversion mode (frequency set by user).
Definition tmp451.h:39
@ TMP451_RATE_8_HZ
8 Hz (125 ms period)
Definition tmp451.h:65
@ TMP451_RATE_0_125_HZ
0.125 Hz (8 s period)
Definition tmp451.h:53
@ TMP451_RATE_1_HZ
1 Hz (1 s period)
Definition tmp451.h:59
@ TMP451_RATE_0_25_HZ
0.25 Hz (4 s period)
Definition tmp451.h:55
@ TMP451_RATE_2_HZ
2 Hz (500 ms period)
Definition tmp451.h:61
@ TMP451_RATE_32_HZ
32 Hz (32 ms period)
Definition tmp451.h:69
@ TMP451_RATE_0_5_HZ
0.5 Hz (2 s period)
Definition tmp451.h:57
@ TMP451_RATE_4_HZ
4 Hz (250 ms period)
Definition tmp451.h:63
@ TMP451_RATE_0_0625_HZ
0.0625 Hz (16 s period)
Definition tmp451.h:51
@ TMP451_RATE_16_HZ
16 Hz (63 ms period)
Definition tmp451.h:67
Main header file for sensor driver API.