X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbaylibre-acme%2Fprotocol.h;h=4600211b29b2fe79f16aec44c3ab2b5fe0f3c6d7;hb=4e88b86cc81ce6569c4bbf947fc2f0f47f4ce8a1;hp=baa91cac33745a251cd23a6e799ee58971d79d77;hpb=1fe04eb8d6c84c0013413991d0632022fc0643f7;p=libsigrok.git diff --git a/src/hardware/baylibre-acme/protocol.h b/src/hardware/baylibre-acme/protocol.h index baa91cac..4600211b 100644 --- a/src/hardware/baylibre-acme/protocol.h +++ b/src/hardware/baylibre-acme/protocol.h @@ -84,6 +84,9 @@ SR_PRIV gboolean bl_acme_register_probe(struct sr_dev_inst *sdi, int type, SR_PRIV int bl_acme_get_probe_type(const struct sr_channel_group *cg); SR_PRIV int bl_acme_probe_has_pws(const struct sr_channel_group *cg); +SR_PRIV void bl_acme_maybe_set_update_interval(const struct sr_dev_inst *sdi, + uint64_t samplerate); + 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, @@ -95,4 +98,7 @@ SR_PRIV int bl_acme_set_power_off(const struct sr_channel_group *cg, SR_PRIV int bl_acme_receive_data(int fd, int revents, void *cb_data); +SR_PRIV int bl_acme_open_channel(struct sr_channel *ch); + +SR_PRIV void bl_acme_close_channel(struct sr_channel *ch); #endif