]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hp-59306a/protocol.h
hp-59306a: Initial HP 59306A driver.
[libsigrok.git] / src / hardware / hp-59306a / protocol.h
index 4f6d969be49369ce290a4273eece2c67a73e8d33..6f1d5a19152457258db83625ea905b2102127099 100644 (file)
 #define LOG_PREFIX "hp-59306a"
 
 struct dev_context {
+       size_t channel_count;
 };
 
-SR_PRIV int hp_59306a_receive_data(int fd, int revents, void *cb_data);
+struct channel_group_context {
+       /** The number of the channel group, as labled on the device. */
+       size_t number;
+};
+
+SR_PRIV int hp_59306a_switch_cg(const struct sr_dev_inst *sdi,
+       const struct sr_channel_group *cg, gboolean enabled);
 
 #endif