]> sigrok.org Git - libsigrok.git/blobdiff - hardware/asix-sigma/asix-sigma.h
Drop unneeded skeleton files.
[libsigrok.git] / hardware / asix-sigma / asix-sigma.h
index 9af081846083cffdc58b6fb207edfbba36a68e92..10152bf581af987a28612e60b03872fbf4122636 100644 (file)
@@ -19,8 +19,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef ASIX_SIGMA_H
-#define ASIX_SIGMA_H
+#ifndef SIGROK_ASIX_SIGMA_H
+#define SIGROK_ASIX_SIGMA_H
 
 enum sigma_write_register {
        WRITE_CLOCK_SELECT      = 0,
@@ -173,4 +173,19 @@ struct sigma_state {
        int chunks_downloaded;
 };
 
+struct sigma {
+       struct ftdi_context ftdic;
+       uint64_t cur_samplerate;
+       uint64_t limit_msec;
+       struct timeval start_tv;
+       int cur_firmware;
+       int num_probes;
+       int samples_per_event;
+       int capture_ratio;
+       struct sigma_trigger trigger;
+       int use_triggers;
+       struct sigma_state state;
+       gpointer session_id;
+};
+
 #endif