#include <stdint.h>
#include <glib.h>
-#include <unistd.h> /* pipe() */
+#include <unistd.h>
#include "libsigrok.h"
#include "libsigrok-internal.h"
#define TEMP_PROBE_NAME "tmp435"
/* For the user we number the probes starting from 1. */
-#define PROBE_NUM(n) ((n)+1)
+#define PROBE_NUM(n) ((n) + 1)
enum probe_type {
PROBE_ENRG = 1,
SR_PRIV gboolean bl_acme_register_probe(struct sr_dev_inst *sdi, int type,
unsigned int addr, int prb_num);
+SR_PRIV int bl_acme_get_shunt(const struct sr_channel_group *cg,
+ uint64_t *shunt);
+SR_PRIV int bl_acme_set_shunt(const struct sr_channel_group *cg,
+ uint64_t shunt);
+SR_PRIV int bl_acme_read_power_state(const struct sr_channel_group *cg,
+ gboolean *off);
+SR_PRIV int bl_acme_set_power_off(const struct sr_channel_group *cg,
+ gboolean off);
+
SR_PRIV int bl_acme_receive_data(int fd, int revents, void *cb_data);
#endif