summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-11 07:08:45 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-11 07:08:45 +0000
commit4c31d5d17962a330f489e6698ca1f53648b37f44 (patch)
tree3a17c84db8f70608f68e9d41334995b968099403 /src/jtag
parent128ff9422604e56c7d8aa3bfaf806aa072130400 (diff)
downloadopenocd+libswd-4c31d5d17962a330f489e6698ca1f53648b37f44.tar.gz
openocd+libswd-4c31d5d17962a330f489e6698ca1f53648b37f44.tar.bz2
openocd+libswd-4c31d5d17962a330f489e6698ca1f53648b37f44.tar.xz
openocd+libswd-4c31d5d17962a330f489e6698ca1f53648b37f44.zip
Move jtag_get_flush_queue_count near jtag_execute_queue (fix its docs).
git-svn-id: svn://svn.berlios.de/openocd/trunk@2189 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/jtag.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 01396a8c..c2524331 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -621,9 +621,13 @@ void jtag_add_clocks(int num_cycles);
*/
extern int jtag_execute_queue(void);
-/* same as jtag_execute_queue() but does not clear the error flag */
+/// same as jtag_execute_queue() but does not clear the error flag
extern void jtag_execute_queue_noclear(void);
+/// @returns the number of times the scan queue has been flushed
+int jtag_get_flush_queue_count(void);
+
+
/* can be implemented by hw+sw */
extern int jtag_power_dropout(int* dropout);
extern int jtag_srst_asserted(int* srst_asserted);
@@ -686,9 +690,6 @@ extern void jtag_add_dr_out(jtag_tap_t* tap,
tap_state_t end_state);
-/// @returns the number of times the scan queue has been flushed
-int jtag_get_flush_queue_count(void);
-
/**
* Set the current JTAG core execution error, unless one was set
* by a previous call previously. Driver or application code must