X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=7f3129379415576cbe0e35c46078619472c8ad87;hp=48c12c63bcf52f421f42429952e4bab8fe1a5a84;hb=6ad2fbaad2722f0aa18c3600cdbdddf812784b2d;hpb=895cbcdd3cc420342f6c293a2713be0b808397c1 diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index 48c12c63..7f312937 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -50,6 +50,14 @@ SR_API GSList *sr_buildinfo_libs_get(void); SR_API char *sr_buildinfo_host_get(void); SR_API char *sr_buildinfo_scpi_backends_get(void); +/*--- conversion.c ----------------------------------------------------------*/ + +SR_API int sr_a2l_threshold(const struct sr_datafeed_analog *analog, + float threshold, uint8_t *output, uint64_t count); +SR_API int sr_a2l_schmitt_trigger(const struct sr_datafeed_analog *analog, + float lo_thr, float hi_thr, uint8_t *state, uint8_t *output, + uint64_t count); + /*--- log.c -----------------------------------------------------------------*/ typedef int (*sr_log_callback)(void *cb_data, int loglevel,