diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-30 09:13:54 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-30 09:13:54 +0000 |
commit | 06cdb3ad449edd73dea6f81183a98ddfa4fbd8eb (patch) | |
tree | dfd550f9a7340729991cd4492c7663ae2b6b16ab /src/jtag/jtag.h | |
parent | 26414b39d4d151508bed35c35e5d34c38fd00cc5 (diff) |
Edgar's added support for printing jtag_khz
git-svn-id: svn://svn.berlios.de/openocd/trunk@628 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 27ffbf87..f5818b98 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -198,6 +198,9 @@ typedef struct jtag_interface_s /* 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); + /* returns the KHz for the provided JTAG speed. 0=RTCK. The function returns + a failure if it can't support the KHz/RTCK. */ + int (*speedDiv)(int speed, int *khz); } jtag_interface_t; |