X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fanalyzer.h;h=d8a9a3ff357367b11e9de6d1c0b73ead8937e13c;hb=df03552894dc80e2de6f818622936663c5b05946;hp=9416478479b4316f1e5c9463ae35dc68cec99245;hpb=ca070ed9a0237e5cea10e5dd974e06da62de890d;p=libsigrok.git diff --git a/hardware/zeroplus-logic-cube/analyzer.h b/hardware/zeroplus-logic-cube/analyzer.h index 94164784..d8a9a3ff 100644 --- a/hardware/zeroplus-logic-cube/analyzer.h +++ b/hardware/zeroplus-logic-cube/analyzer.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrok project. * * Copyright (C) 2010 Sven Peter * Copyright (C) 2010 Haxx Enterprises @@ -29,11 +29,11 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef SIGROK_ZEROPLUS_ANALYZER_H -#define SIGROK_ZEROPLUS_ANALYZER_H +#ifndef LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_ANALYZER_H +#define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_ANALYZER_H #include -#include "sigrok.h" +#include "libsigrok.h" #define STATUS_FLAG_NONE 0x00 #define STATUS_FLAG_RESET 0x01 @@ -85,6 +85,7 @@ SR_PRIV void analyzer_add_trigger(int channel, int type); SR_PRIV void analyzer_set_trigger_count(int count); SR_PRIV void analyzer_add_filter(int channel, int type); +SR_PRIV unsigned int analyzer_read_status(libusb_device_handle *devh); SR_PRIV unsigned int analyzer_read_id(libusb_device_handle *devh); SR_PRIV unsigned int analyzer_get_stop_address(libusb_device_handle *devh); SR_PRIV unsigned int analyzer_get_now_address(libusb_device_handle *devh);