]> sigrok.org Git - libsigrok.git/blobdiff - hwdriver.c
atten-pps3xxx: Full support for the PPS3203T-3S.
[libsigrok.git] / hwdriver.c
index 00e111c6ebcce878a321cdea42199613ae6053fc..37edf415a554a8ffb83b08a2d099ecfa48d444cb 100644 (file)
@@ -102,6 +102,22 @@ static struct sr_config_info sr_config_info_data[] = {
                "Number of analog probes", NULL},
        {SR_CONF_MAX_UNCOMPRESSED_SAMPLES, SR_T_UINT64, "max_uncompressed_samples",
                "Maximum number of uncompressed samples", NULL},
+       {SR_CONF_OUTPUT_VOLTAGE, SR_T_FLOAT, "output_voltage",
+               "Current output voltage", NULL},
+       {SR_CONF_OUTPUT_VOLTAGE_MAX, SR_T_FLOAT, "output_voltage_max",
+               "Maximum output voltage", NULL},
+       {SR_CONF_OUTPUT_CURRENT, SR_T_FLOAT, "output_current",
+               "Current output current", NULL},
+       {SR_CONF_OUTPUT_CURRENT_MAX, SR_T_FLOAT, "output_current_max",
+               "Maximum output current", NULL},
+       {SR_CONF_OUTPUT_ENABLED, SR_T_BOOL, "output_enabled",
+               "Output enabled", NULL},
+       {SR_CONF_OUTPUT_CHANNEL, SR_T_CHAR, "output_channel",
+               "Output channel modes", NULL},
+       {SR_CONF_OVER_VOLTAGE_PROTECTION, SR_T_BOOL, "ovp",
+               "Over-voltage protection", NULL},
+       {SR_CONF_OVER_CURRENT_PROTECTION, SR_T_BOOL, "ocp",
+               "Over-current protection", NULL},
        {0, 0, NULL, NULL, NULL},
 };
 
@@ -109,6 +125,9 @@ static struct sr_config_info sr_config_info_data[] = {
 #ifdef HAVE_HW_APPA_55II
 extern SR_PRIV struct sr_dev_driver appa_55ii_driver_info;
 #endif
+#ifdef HAVE_HW_ATTEN_PPS3XXX
+extern SR_PRIV struct sr_dev_driver atten_pps3203_driver_info;
+#endif
 #ifdef HAVE_HW_BRYMEN_DMM
 extern SR_PRIV struct sr_dev_driver brymen_bm857_driver_info;
 #endif
@@ -252,6 +271,9 @@ static struct sr_dev_driver *drivers_list[] = {
 #ifdef HAVE_HW_APPA_55II
        &appa_55ii_driver_info,
 #endif
+#ifdef HAVE_HW_ATTEN_PPS3XXX
+       &atten_pps3203_driver_info,
+#endif
 #ifdef HAVE_HW_BRYMEN_DMM
        &brymen_bm857_driver_info,
 #endif