adapter: add command "adapter [de]assert srst|trst [[de]assert srst|trst]"
[fw/openocd] / src / jtag / jtag.h
index c93243c4782f818c5ab26d1942edc7edf3876f74..ff178315832a97fed8c3e60588817200b5c55715 100644 (file)
@@ -76,6 +76,14 @@ typedef enum tap_state {
 #endif
 } tap_state_t;
 
+/**
+ * Defines arguments for reset functions
+ */
+#define SRST_DEASSERT   0
+#define SRST_ASSERT     1
+#define TRST_DEASSERT   0
+#define TRST_ASSERT     1
+
 /**
  * Function tap_state_name
  * Returns a string suitable for display representing the JTAG tap_state