Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
adt7604.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2026 Analog Devices, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADT7604_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADT7604_H_
15
22
24
69
81
101 const struct adt7604_custom_sensor_data_table *table);
102
136
140
141#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADT7604_H_ */
sensor_attribute_adt7604
ADT7604-specific sensor attributes.
Definition adt7604.h:106
int adt7604_write_custom_sensor_data_table(const struct device *dev, uint8_t chan_num, const struct adt7604_custom_sensor_data_table *table)
Write custom sensor data into the ADT7604 custom sensor table.
@ SENSOR_ATTR_ADT7604_FILTER_NOTCH
Digital filter notch frequency.
Definition adt7604.h:124
@ SENSOR_ATTR_ADT7604_TEMP_UNIT
Temperature unit selection.
Definition adt7604.h:113
@ SENSOR_ATTR_ADT7604_MUX_DELAY_US
MUX configuration delay.
Definition adt7604.h:134
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:452
Main header file for sensor driver API.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Custom sensor table payload for adt7604_write_custom_sensor_data().
Definition adt7604.h:76
struct adt7604_custom_sensor_data * data
Array of custom sensor data rows.
Definition adt7604.h:77
uint8_t num_rows
Number of rows in data.
Definition adt7604.h:78
uint8_t custom_addr_ptr
Starting byte offset from 0x250 (user-managed).
Definition adt7604.h:79
Custom sensor data row for adt7604_write_custom_sensor_data_table().
Definition adt7604.h:30
uint32_t temp_kelvin
Temperature in Kelvin, 24-bit.
Definition adt7604.h:36
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@234027311276150011347151045070132273376063041002 thermistor_custom_table
LTC2984 Thermistor Custom Table row (sensor type 27).
uint32_t resistance_ohm
Resistance in ohms, 24-bit.
Definition adt7604.h:41
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@316172117250344366210001242367027103264300042263 thermistor
Thermistor Steinhart-Hart coefficient row.
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@225237213075171255141124243322341231324075264331 leak
Leak detector custom table row.
uint32_t coverage
Percentage + 273.15, 24-bit.
Definition adt7604.h:42
uint32_t voltage_mv
Thermocouple output voltage in mV, 24-bit.
Definition adt7604.h:58
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@010010346307164271037047145224276023157112012310 rtd_custom
LTC2984 RTD Custom table row (sensor type 18).
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@117263071130366145273320244062357062276272174001 tc_custom
LTC2984 Thermocouple Custom table row (sensor type 9).
uint32_t resistance_mohm
Resistance in milliohms, 24-bit.
Definition adt7604.h:35
struct adt7604_custom_sensor_data::@123340310235013240133007322172123217305151102006::@143072322210171061031076216322044172105144237227 copper_trace
Copper trace custom table row.
float coeff
Steinhart-Hart A..F coefficient, 32-bit IEEE 754.
Definition adt7604.h:47
Runtime device structure (in ROM) per driver instance.
Definition device.h:543