diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:02:00 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:02:00 +0000 |
commit | d53031386698005f765d18beaa776e5847b4d48a (patch) | |
tree | 823246e09551cce60573cf58816a09490a96970a /src/jtag/jtag.h | |
parent | 8580c70172d61b2809a04ab1dd4904d8e1d0136f (diff) |
Add accessors for speed_khz; use them in jim command handler.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2058 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 8f427fbe..ba82df7c 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -642,5 +642,7 @@ extern int jtag_add_statemove(tap_state_t goal_state); /// @returns the number of times the scan queue has been flushed int jtag_get_flush_queue_count(void); +void jtag_set_speed_khz(unsigned speed); +unsigned jtag_get_speed_khz(void); #endif /* JTAG_H */ |