File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737#define DEVICE_DISCONNECTED_F -427
3838#define DEVICE_DISCONNECTED_RAW -32640
3939
40+ #define DEVICE_FAULT_OPEN_C -254
41+ #define DEVICE_FAULT_OPEN_F -425.199982
42+ #define DEVICE_FAULT_OPEN_RAW -32512
43+
44+ #define DEVICE_FAULT_SHORTGND_C -253
45+ #define DEVICE_FAULT_SHORTGND_F -423.399994
46+ #define DEVICE_FAULT_SHORTGND_RAW -32384
47+
48+ #define DEVICE_FAULT_SHORTVDD_C -252
49+ #define DEVICE_FAULT_SHORTVDD_F -421.599976
50+ #define DEVICE_FAULT_SHORTVDD_RAW -32256
51+
4052// For readPowerSupply on oneWire bus
4153// definition of nullptr for C++ < 11, using official workaround:
4254// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
Original file line number Diff line number Diff line change @@ -76,3 +76,12 @@ calculateTemperature KEYWORD2
7676DEVICE_DISCONNECTED_C LITERAL1
7777DEVICE_DISCONNECTED_F LITERAL1
7878DEVICE_DISCONNECTED_RAW LITERAL1
79+ DEVICE_FAULT_OPEN_C LITERAL1
80+ DEVICE_FAULT_OPEN_F LITERAL1
81+ DEVICE_FAULT_OPEN_RAW LITERAL1
82+ DEVICE_FAULT_SHORTGND_C LITERAL1
83+ DEVICE_FAULT_SHORTGND_F LITERAL1
84+ DEVICE_FAULT_SHORTGND_RAW LITERAL1
85+ DEVICE_FAULT_SHORTVDD_C LITERAL1
86+ DEVICE_FAULT_SHORTVDD_F LITERAL1
87+ DEVICE_FAULT_SHORTVDD_RAW LITERAL1
You can’t perform that action at this time.
0 commit comments