aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simplemotion_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 138c42b..5f58564 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -714,6 +714,8 @@
#define SMP_CAPTURE_SAMPLERATE 5012
//rdonly
#define SMP_CAPTURE_BUF_LENGHT 5013
+//SMP_CAPTURE_TRIGGER_DELAY sets scope capture trigger delay. Value 0 is traditional, -n starts capture n sample cycles before trigger, +n after trigger. In negative delay, the minimum effective value is SMP_CAPTURE_BUF_LENGHT divided by number of channels selected.
+#define SMP_CAPTURE_TRIGGER_DELAY 5014
//this is looped 0-n to make samples 0-n readable from SMP_CAPTURE_BUFFER_GET_VALUE
#define SMP_CAPTURE_BUFFER_GET_ADDR 5333
#define SMP_CAPTURE_BUFFER_GET_VALUE 5334