Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.

Detailed Description

Custom sensor data row for adt7604_write_custom_sensor_data_table().

Fill the union arm matching the channel's configured sensor type.

Field Documentation

◆ [union]

Sensor-type-specific custom data row.

◆ coeff

float adt7604_custom_sensor_data::coeff

Steinhart-Hart A..F coefficient, 32-bit IEEE 754.

◆ [struct]

struct { ... } adt7604_custom_sensor_data::copper_trace

Copper trace custom table row.

◆ coverage

uint32_t adt7604_custom_sensor_data::coverage

Percentage + 273.15, 24-bit.

◆ [struct]

struct { ... } adt7604_custom_sensor_data::leak

Leak detector custom table row.

◆ resistance_mohm

uint32_t adt7604_custom_sensor_data::resistance_mohm

Resistance in milliohms, 24-bit.

◆ resistance_ohm

uint32_t adt7604_custom_sensor_data::resistance_ohm

Resistance in ohms, 24-bit.

◆ [struct]

struct { ... } adt7604_custom_sensor_data::rtd_custom

LTC2984 RTD Custom table row (sensor type 18).

◆ [struct]

struct { ... } adt7604_custom_sensor_data::tc_custom

LTC2984 Thermocouple Custom table row (sensor type 9).

◆ temp_kelvin

uint32_t adt7604_custom_sensor_data::temp_kelvin

Temperature in Kelvin, 24-bit.

◆ [struct]

struct { ... } adt7604_custom_sensor_data::thermistor

Thermistor Steinhart-Hart coefficient row.

◆ [struct]

struct { ... } adt7604_custom_sensor_data::thermistor_custom_table

LTC2984 Thermistor Custom Table row (sensor type 27).

◆ voltage_mv

uint32_t adt7604_custom_sensor_data::voltage_mv

Thermocouple output voltage in mV, 24-bit.


The documentation for this struct was generated from the following file: