|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Custom sensor data row for adt7604_write_custom_sensor_data_table(). More...
#include <zephyr/drivers/sensor/adt7604.h>
Data Fields | |
| union { | |
| struct { | |
| uint32_t resistance_mohm | |
| Resistance in milliohms, 24-bit. More... | |
| uint32_t temp_kelvin | |
| Temperature in Kelvin, 24-bit. More... | |
| } copper_trace | |
| Copper trace custom table row. More... | |
| struct { | |
| uint32_t resistance_ohm | |
| Resistance in ohms, 24-bit. More... | |
| uint32_t coverage | |
| Percentage + 273.15, 24-bit. More... | |
| } leak | |
| Leak detector custom table row. More... | |
| struct { | |
| float coeff | |
| Steinhart-Hart A..F coefficient, 32-bit IEEE 754. More... | |
| } thermistor | |
| Thermistor Steinhart-Hart coefficient row. More... | |
| struct { | |
| uint32_t resistance_ohm | |
| Resistance in ohms, 24-bit. More... | |
| uint32_t temp_kelvin | |
| Temperature in Kelvin, 24-bit. More... | |
| } rtd_custom | |
| LTC2984 RTD Custom table row (sensor type 18). More... | |
| struct { | |
| uint32_t voltage_mv | |
| Thermocouple output voltage in mV, 24-bit. More... | |
| uint32_t temp_kelvin | |
| Temperature in Kelvin, 24-bit. More... | |
| } tc_custom | |
| LTC2984 Thermocouple Custom table row (sensor type 9). More... | |
| struct { | |
| uint32_t resistance_ohm | |
| Resistance in ohms, 24-bit. More... | |
| uint32_t temp_kelvin | |
| Temperature in Kelvin, 24-bit. More... | |
| } thermistor_custom_table | |
| LTC2984 Thermistor Custom Table row (sensor type 27). More... | |
| }; | |
| Sensor-type-specific custom data row. | |
Custom sensor data row for adt7604_write_custom_sensor_data_table().
Fill the union arm matching the channel's configured sensor type.
| union { ... } adt7604_custom_sensor_data |
Sensor-type-specific custom data row.
| float adt7604_custom_sensor_data::coeff |
Steinhart-Hart A..F coefficient, 32-bit IEEE 754.
| struct { ... } adt7604_custom_sensor_data::copper_trace |
Copper trace custom table row.
| uint32_t adt7604_custom_sensor_data::coverage |
Percentage + 273.15, 24-bit.
| struct { ... } adt7604_custom_sensor_data::leak |
Leak detector custom table row.
| uint32_t adt7604_custom_sensor_data::resistance_mohm |
Resistance in milliohms, 24-bit.
| uint32_t adt7604_custom_sensor_data::resistance_ohm |
Resistance in ohms, 24-bit.
| struct { ... } adt7604_custom_sensor_data::rtd_custom |
LTC2984 RTD Custom table row (sensor type 18).
| struct { ... } adt7604_custom_sensor_data::tc_custom |
LTC2984 Thermocouple Custom table row (sensor type 9).
| uint32_t adt7604_custom_sensor_data::temp_kelvin |
Temperature in Kelvin, 24-bit.
| struct { ... } adt7604_custom_sensor_data::thermistor |
Thermistor Steinhart-Hart coefficient row.
| struct { ... } adt7604_custom_sensor_data::thermistor_custom_table |
LTC2984 Thermistor Custom Table row (sensor type 27).
| uint32_t adt7604_custom_sensor_data::voltage_mv |
Thermocouple output voltage in mV, 24-bit.