summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 13:14:07 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 13:14:07 +0000
commitf133158175b568b9355e1bb3da159fd235723dec (patch)
tree72c3de1ff05ebacdff8f5b0371a7b90f0c403c45 /src/jtag/jtag.h
parent310a9eabff252327092a5d8981942c549cfeb2ae (diff)
downloadopenocd+libswd-f133158175b568b9355e1bb3da159fd235723dec.tar.gz
openocd+libswd-f133158175b568b9355e1bb3da159fd235723dec.tar.bz2
openocd+libswd-f133158175b568b9355e1bb3da159fd235723dec.tar.xz
openocd+libswd-f133158175b568b9355e1bb3da159fd235723dec.zip
Introduce jtag_get_end_state() fn to clarify code a bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2049 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 67b3b55c..552e217c 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -488,7 +488,7 @@ extern void jtag_add_reset(int req_tlr_or_trst, int srst);
/**
- * Function jtag_add_stable_clocks
+ * Function jtag_add_end_state
*
* Set a global variable to \a state if \a state != TAP_INVALID.
*
@@ -496,6 +496,13 @@ extern void jtag_add_reset(int req_tlr_or_trst, int srst);
*
**/
extern tap_state_t jtag_add_end_state(tap_state_t state);
+/**
+ * Function jtag_get_end_state
+ *
+ * Return the value of the global variable for end state
+ *
+ **/
+extern tap_state_t jtag_get_end_state(void);
extern void jtag_add_sleep(u32 us);