summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 13:58:07 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 13:58:07 +0000
commit587dd1c392fce46b20c86c725c73ad495880d067 (patch)
treecbfdd58513ca79c59eae6c51c9eba281a1df36d9 /src/jtag/jtag.h
parent9bf081192f2a1ad8c3ef424c9564b0c1f733461d (diff)
downloadopenocd_libswd-587dd1c392fce46b20c86c725c73ad495880d067.tar.gz
openocd_libswd-587dd1c392fce46b20c86c725c73ad495880d067.tar.bz2
openocd_libswd-587dd1c392fce46b20c86c725c73ad495880d067.tar.xz
openocd_libswd-587dd1c392fce46b20c86c725c73ad495880d067.zip
clarified jtag_khz command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@513 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 16eb84dd..fca7c350 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -195,7 +195,8 @@ typedef struct jtag_interface_s
int (*register_commands)(struct command_context_s *cmd_ctx);
int (*init)(void);
int (*quit)(void);
- /* returns JTAG speed for KHz. */
+ /* returns JTAG maxium speed for KHz. 0=RTCK. The function returns
+ a failure if it can't support the KHz/RTCK. */
int (*khz)(int khz, int *jtag_speed);
} jtag_interface_t;