Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Header file for extended sensor API of MCP9600 sensor. More...
#include <zephyr/drivers/sensor.h>
Go to the source code of this file.
Macros | |
Thermocouple type selection | |
Values for attribute SENSOR_CHAN_MCP9600_THERMOCOUPLE_TYPE | |
#define | MCP9600_ATTR_VALUE_TYPE_K 0x0 |
#define | MCP9600_ATTR_VALUE_TYPE_J 0x1 |
#define | MCP9600_ATTR_VALUE_TYPE_T 0x2 |
#define | MCP9600_ATTR_VALUE_TYPE_N 0x3 |
#define | MCP9600_ATTR_VALUE_TYPE_S 0x4 |
#define | MCP9600_ATTR_VALUE_TYPE_E 0x5 |
#define | MCP9600_ATTR_VALUE_TYPE_B 0x6 |
#define | MCP9600_ATTR_VALUE_TYPE_R 0x7 |
ADC resolution | |
MCP9600 values for attribute SENSOR_ATTR_MCP9600_ADC_RES | |
#define | MCP9600_ATTR_VALUE_ADC_RES_18BIT 0x0 |
#define | MCP9600_ATTR_VALUE_ADC_RES_16BIT 0x1 |
#define | MCP9600_ATTR_VALUE_ADC_RES_14BIT 0x2 |
#define | MCP9600_ATTR_VALUE_ADC_RES_12BIT 0x3 |
Cold junction temperature resolution | |
MCP9600 values for attribute SENSOR_ATTR_MCP9600_COLD_JUNCTION_RESOLUTION | |
#define | MCP9600_ATTR_VALUE_COLD_JUNC_TMP_RES_0_0625C 0x0 |
#define | MCP9600_ATTR_VALUE_COLD_JUNC_TMP_RES_0_25C 0x1 |
Enumerations | |
enum | sensor_channel_mcp9600 { SENSOR_CHAN_MCP9600_COLD_JUNCTION_TEMP = SENSOR_CHAN_PRIV_START , SENSOR_CHAN_MCP9600_HOT_JUNCTION_TEMP , SENSOR_CHAN_MCP9600_DELTA_TEMP , SENSOR_CHAN_MCP9600_RAW_ADC } |
Custom sensor channels for MCP9600. More... | |
enum | sensor_attribute_mcp9600 { SENSOR_ATTR_MCP9600_ADC_RES = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_MCP9600_FILTER_COEFFICIENT , SENSOR_ATTR_MCP9600_THERMOCOUPLE_TYPE , SENSOR_ATTR_MCP9600_COLD_JUNCTION_RESOLUTION , SENSOR_ATTR_MCP9600_DEV_ID } |
Custom sensor attributes for MCP9600. More... |
Header file for extended sensor API of MCP9600 sensor.