configurations: yosemite4: Revise MEDUSA voltage sensor
Revise MEDUSA voltage sensors: INA238, ISL28022, RTQ6056.
1. Change RTQ6056 to read shunt voltage.
2. Revise voltage scale and threshold.
3. Add "in1_Min" and "in_voltage0_Min" in schemas/legacy.json.
Tested:
Check sensor reading of INA238, ISL28022, RTQ6056.
They all work fine.
Change-Id: I61ec1d6f98a1e5051486e2871b24e70f899e59ab
Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@gmail.com>
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_adi_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_adi_48vhsc_inf.json
index 5c09f27..2cb05ba 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_adi_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_adi_48vhsc_inf.json
@@ -1033,28 +1033,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
@@ -1267,11 +1251,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_adi.json
index 0b4446e..34b326b 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_adi.json
@@ -261,28 +261,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
@@ -1519,11 +1503,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_inf.json
index 2b49a57..3a1033f 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_12vhsc_mps_48vhsc_inf.json
@@ -9,28 +9,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
@@ -1267,11 +1251,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_hsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_rns_hsc_adi.json
index 5f3f89a..16ef09d 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_hsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_hsc_adi.json
@@ -1285,28 +1285,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
@@ -1519,11 +1503,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_adi_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_adi_48vhsc_inf.json
index c7b43b0..5d99dd5 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_adi_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_adi_48vhsc_inf.json
@@ -1033,55 +1033,17 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.03
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non critical",
- "Severity": 0,
- "Value": -0.01
- },
- {
"Direction": "less than",
"Hysteresis": 0,
"Label": "in1",
"Name": "lower critical",
"Severity": 1,
- "Value": -0.02
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non recoverable",
- "Severity": 4,
- "Value": -0.02
+ "Value": -0.32
}
],
"Type": "ISL28022",
+ "in1_Max": 1,
+ "in1_Min": -1,
"in1_Name": "MEDUSA_ADC_48V_SENSE_VOLT_V"
},
{
@@ -1289,11 +1251,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_adi.json
index 343dbb5..0a6564e 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_adi.json
@@ -261,55 +261,17 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.03
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non critical",
- "Severity": 0,
- "Value": -0.01
- },
- {
"Direction": "less than",
"Hysteresis": 0,
"Label": "in1",
"Name": "lower critical",
"Severity": 1,
- "Value": -0.02
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non recoverable",
- "Severity": 4,
- "Value": -0.02
+ "Value": -0.32
}
],
"Type": "ISL28022",
+ "in1_Max": 1,
+ "in1_Min": -1,
"in1_Name": "MEDUSA_ADC_48V_SENSE_VOLT_V"
},
{
@@ -1541,11 +1503,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_inf.json
index 7fdc398..30c83b1 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_12vhsc_mps_48vhsc_inf.json
@@ -9,55 +9,17 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.03
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non critical",
- "Severity": 0,
- "Value": -0.01
- },
- {
"Direction": "less than",
"Hysteresis": 0,
"Label": "in1",
"Name": "lower critical",
"Severity": 1,
- "Value": -0.02
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non recoverable",
- "Severity": 4,
- "Value": -0.02
+ "Value": -0.32
}
],
"Type": "ISL28022",
+ "in1_Max": 1,
+ "in1_Min": -1,
"in1_Name": "MEDUSA_ADC_48V_SENSE_VOLT_V"
},
{
@@ -1289,11 +1251,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_hsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_hsc_adi.json
index d80fdc8..420196f 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_rns_isl_hsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_rns_isl_hsc_adi.json
@@ -1285,55 +1285,17 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper critical",
- "Severity": 1,
- "Value": 0.04
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.03
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non critical",
- "Severity": 0,
- "Value": -0.01
- },
- {
"Direction": "less than",
"Hysteresis": 0,
"Label": "in1",
"Name": "lower critical",
"Severity": 1,
- "Value": -0.02
- },
- {
- "Direction": "less than",
- "Hysteresis": 0,
- "Label": "in1",
- "Name": "lower non recoverable",
- "Severity": 4,
- "Value": -0.02
+ "Value": -0.32
}
],
"Type": "ISL28022",
+ "in1_Max": 1,
+ "in1_Min": -1,
"in1_Name": "MEDUSA_ADC_48V_SENSE_VOLT_V"
},
{
@@ -1541,11 +1503,24 @@
"Address": "0x41",
"Bus": 11,
"Labels": [
- "in_voltage1"
+ "in_voltage0"
],
"Name": "MEDUSA_ADC_GND_SENSE",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Hysteresis": 0,
+ "Label": "in_voltage0",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.006
+ }
+ ],
"Type": "RTQ6056",
- "in_voltage1_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
+ "in_voltage0_Max": 0.1,
+ "in_voltage0_Min": -0.1,
+ "in_voltage0_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V",
+ "in_voltage0_Scale": 400000
},
{
"Class": "temp",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
index 6dd8f2d..0f692d7 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
@@ -1043,28 +1043,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
index c472af2..e78deb3 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
@@ -271,28 +271,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
index 204c012..c3e7411 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
@@ -19,28 +19,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
index 1170bd1..53ea586 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
@@ -1295,28 +1295,12 @@
"Name": "MEDUSA_ADC_48V_SENSE",
"Thresholds": [
{
- "Direction": "greater than",
+ "Direction": "less than",
"Hysteresis": 0,
"Label": "in0",
- "Name": "upper non recoverable",
- "Severity": 4,
- "Value": 0.29
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper critical",
+ "Name": "lower critical",
"Severity": 1,
- "Value": 0.253
- },
- {
- "Direction": "greater than",
- "Hysteresis": 0,
- "Label": "in0",
- "Name": "upper non critical",
- "Severity": 0,
- "Value": 0.242
+ "Value": -0.162
}
],
"Type": "INA238",
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 8b61fc2..d62cd77 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -275,6 +275,9 @@
"in1_Max": {
"$ref": "#/$defs/Types/in1_Max"
},
+ "in1_Min": {
+ "$ref": "#/$defs/Types/in1_Min"
+ },
"in1_Name": {
"$ref": "#/$defs/Types/in1_Name"
},
@@ -311,6 +314,9 @@
"in_voltage0_Max": {
"$ref": "#/$defs/Types/in_voltage0_Max"
},
+ "in_voltage0_Min": {
+ "$ref": "#/$defs/Types/in_voltage0_Min"
+ },
"in_voltage0_Name": {
"$ref": "#/$defs/Types/in_voltage0_Name"
},
@@ -1301,6 +1307,9 @@
"in1_Max": {
"type": "number"
},
+ "in1_Min": {
+ "type": "number"
+ },
"in1_Name": {
"type": "string"
},
@@ -1337,6 +1346,9 @@
"in_voltage0_Max": {
"type": "number"
},
+ "in_voltage0_Min": {
+ "type": "number"
+ },
"in_voltage0_Name": {
"type": "string"
},