Default configuration parameters for the lm75 sensors. More...
Default configuration parameters for the lm75 sensors.
Definition in file lm75_params.h.
Include dependency graph for lm75_params.h:Go to the source code of this file.
| #define | LM75_PARAM_I2C I2C_DEV(0) |
| I2C BUS used. | |
| #define | CONFIG_LM75_I2C_ADDR (0x48) |
| Default I2C address. | |
| #define | CONFIG_OPERATION_MODE NORMAL_MODE |
| Normal Mode is the default. | |
| #define | CONFIG_THERMOSTAT_MODE COMPARATOR_MODE |
| Comparator Mode is the default. | |
| #define | CONFIG_OS_POLARITY OS_ACTIVE_LOW |
| OS pin active on low is the default. | |
| #define | CONFIG_FAULT_QUEUE FAULT_1 |
| Device Overtemperatue Shutdown fault queue configuration. | |
| #define | LM75_PARAM_INT GPIO_UNDEF |
| Pin used for Interrupts defined by the board. | |
| #define | LM75A_CONV_RATE (100) |
| Temperature register updated every 100ms. | |
| #define | LM75A_OS_RES (5) |
| Resolution in 0.5ºC. | |
| #define | LM75A_OS_MULT (10) |
| Must multiply by 10 to get temp in ºC. | |
| #define | LM75A_OS_SHIFT (7) |
| Only the 9 most significant bits are needed. | |
| #define | LM75A_TEMP_RES (125) |
| Resolution in 0.125ºC. | |
| #define | LM75A_TEMP_MULT (1000) |
| Must multiply by 1000 to get temp in ºC. | |
| #define | LM75A_TEMP_SHIFT (5) |
| Only the 11 most significant bits are needed. | |
| #define | TMP1075_OS_RES (625) |
| Resolution in 0.0625ºC. | |
| #define | TMP1075_OS_MULT (10000) |
| Must multiply by 10000 to get temp in ºC. | |
| #define | TMP1075_OS_SHIFT (4) |
| Only the 12 most significant bits are needed. | |
| #define | TMP1075_TEMP_RES (625) |
| Resolution in 0.0625ºC. | |
| #define | TMP1075_TEMP_MULT (10000) |
| Must multiply by 10000 to get temp in ºC. | |
| #define | TMP1075_TEMP_SHIFT (4) |
| Only the 12 most significant bits are needed. | |
| #define | CONFIG_TMP1075_CONV_RATE_REG TMP1075_CONV_RATE_REG_27H |
| Device conversion rate register value. | |
| #define | TMP1075_CONV_RATE (28) |
| Device conversion rate in milliseconds. | |
| static const lm75_params_t | lm75_params [] |
| LM75 power-up configuration. | |
| #define CONFIG_FAULT_QUEUE FAULT_1 |
Device Overtemperatue Shutdown fault queue configuration.
Number of faults that must occur consecutively until OS goes active
Default: One
Definition at line 98 of file lm75_params.h.
| #define CONFIG_LM75_I2C_ADDR (0x48) |
Default I2C address.
7-bit I2C slave address: 1-0-0-1-A2-A1-A0, where the last three bits A2, A1, A0 are defined by the voltage level on the ADDR pin
Definition at line 38 of file lm75_params.h.
| #define CONFIG_OPERATION_MODE NORMAL_MODE |
Normal Mode is the default.
Definition at line 49 of file lm75_params.h.
| #define CONFIG_OS_POLARITY OS_ACTIVE_LOW |
OS pin active on low is the default.
Definition at line 72 of file lm75_params.h.
| #define CONFIG_THERMOSTAT_MODE COMPARATOR_MODE |
Comparator Mode is the default.
Definition at line 60 of file lm75_params.h.
| #define CONFIG_TMP1075_CONV_RATE_REG TMP1075_CONV_RATE_REG_27H |
Device conversion rate register value.
Only available in TMP1075 devices!
Default: 27.5ms
Definition at line 143 of file lm75_params.h.
| #define LM75_PARAM_I2C I2C_DEV(0) |
I2C BUS used.
Definition at line 28 of file lm75_params.h.
| #define LM75_PARAM_INT GPIO_UNDEF |
Pin used for Interrupts defined by the board.
Definition at line 102 of file lm75_params.h.
| #define LM75A_CONV_RATE (100) |
Temperature register updated every 100ms.
Definition at line 105 of file lm75_params.h.
| #define LM75A_OS_MULT (10) |
Must multiply by 10 to get temp in ºC.
Definition at line 108 of file lm75_params.h.
| #define LM75A_OS_RES (5) |
Resolution in 0.5ºC.
Definition at line 107 of file lm75_params.h.
| #define LM75A_OS_SHIFT (7) |
Only the 9 most significant bits are needed.
Definition at line 109 of file lm75_params.h.
| #define LM75A_TEMP_MULT (1000) |
Must multiply by 1000 to get temp in ºC.
Definition at line 111 of file lm75_params.h.
| #define LM75A_TEMP_RES (125) |
Resolution in 0.125ºC.
Definition at line 110 of file lm75_params.h.
| #define LM75A_TEMP_SHIFT (5) |
Only the 11 most significant bits are needed.
Definition at line 112 of file lm75_params.h.
| #define TMP1075_CONV_RATE (28) |
Device conversion rate in milliseconds.
Default is 27.5ms or about 28 ms. This is rounded up to 28ms to retain usage of integers and to keep all times in ms
Definition at line 150 of file lm75_params.h.
| #define TMP1075_OS_MULT (10000) |
Must multiply by 10000 to get temp in ºC.
Definition at line 115 of file lm75_params.h.
| #define TMP1075_OS_RES (625) |
Resolution in 0.0625ºC.
Definition at line 114 of file lm75_params.h.
| #define TMP1075_OS_SHIFT (4) |
Only the 12 most significant bits are needed.
Definition at line 116 of file lm75_params.h.
| #define TMP1075_TEMP_MULT (10000) |
Must multiply by 10000 to get temp in ºC.
Definition at line 118 of file lm75_params.h.
| #define TMP1075_TEMP_RES (625) |
Resolution in 0.0625ºC.
Definition at line 117 of file lm75_params.h.
| #define TMP1075_TEMP_SHIFT (4) |
Only the 12 most significant bits are needed.
Definition at line 119 of file lm75_params.h.
|
static |
LM75 power-up configuration.
Definition at line 184 of file lm75_params.h.