13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCP9600H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MCP9600H_
113#define MCP9600_ATTR_VALUE_TYPE_K 0x0
114#define MCP9600_ATTR_VALUE_TYPE_J 0x1
115#define MCP9600_ATTR_VALUE_TYPE_T 0x2
116#define MCP9600_ATTR_VALUE_TYPE_N 0x3
117#define MCP9600_ATTR_VALUE_TYPE_S 0x4
118#define MCP9600_ATTR_VALUE_TYPE_E 0x5
119#define MCP9600_ATTR_VALUE_TYPE_B 0x6
120#define MCP9600_ATTR_VALUE_TYPE_R 0x7
130#define MCP9600_ATTR_VALUE_ADC_RES_18BIT 0x0
131#define MCP9600_ATTR_VALUE_ADC_RES_16BIT 0x1
132#define MCP9600_ATTR_VALUE_ADC_RES_14BIT 0x2
133#define MCP9600_ATTR_VALUE_ADC_RES_12BIT 0x3
143#define MCP9600_ATTR_VALUE_COLD_JUNC_TMP_RES_0_0625C 0x0
144#define MCP9600_ATTR_VALUE_COLD_JUNC_TMP_RES_0_25C 0x1
sensor_attribute_mcp9600
Custom sensor attributes for MCP9600.
Definition mcp9600.h:66
sensor_channel_mcp9600
Custom sensor channels for MCP9600.
Definition mcp9600.h:32
@ SENSOR_ATTR_MCP9600_DEV_ID
Device ID (read-only).
Definition mcp9600.h:103
@ SENSOR_ATTR_MCP9600_FILTER_COEFFICIENT
IIR filter coefficient (0-7).
Definition mcp9600.h:80
@ SENSOR_ATTR_MCP9600_ADC_RES
ADC resolution.
Definition mcp9600.h:73
@ SENSOR_ATTR_MCP9600_THERMOCOUPLE_TYPE
Thermocouple type.
Definition mcp9600.h:87
@ SENSOR_ATTR_MCP9600_COLD_JUNCTION_RESOLUTION
Cold junction temperature resolution.
Definition mcp9600.h:95
@ SENSOR_CHAN_MCP9600_COLD_JUNCTION_TEMP
Cold junction (reference) temperature in degrees Celsius.
Definition mcp9600.h:39
@ SENSOR_CHAN_MCP9600_RAW_ADC
Raw ADC value (thermocouple EMF in ADC counts).
Definition mcp9600.h:60
@ SENSOR_CHAN_MCP9600_HOT_JUNCTION_TEMP
Hot junction (thermocouple tip) temperature in degrees Celsius.
Definition mcp9600.h:46
@ SENSOR_CHAN_MCP9600_DELTA_TEMP
Temperature difference (hot junction minus cold junction) in degrees Celsius.
Definition mcp9600.h:53
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:407
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:247
Main header file for sensor driver API.