summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-22 14:26:44 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-22 14:26:44 +0000
commit2b43391851c9c61fed5ee5eacf2fd96347270ab4 (patch)
tree0d96537b8f2c5cb314f22f710a73e2cb8351fba4 /doc
parentee94947ffec3038696a4c604edd9f9c323e993e3 (diff)
downloadopenocd_libswd-2b43391851c9c61fed5ee5eacf2fd96347270ab4.tar.gz
openocd_libswd-2b43391851c9c61fed5ee5eacf2fd96347270ab4.tar.bz2
openocd_libswd-2b43391851c9c61fed5ee5eacf2fd96347270ab4.tar.xz
openocd_libswd-2b43391851c9c61fed5ee5eacf2fd96347270ab4.zip
Dirk Behme <dirk.behme@googlemail.com>
Add missing tap-enable and tap-disable events to documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@1267 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi20
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index e4b3551d..9acd8cdc 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -1744,8 +1744,8 @@ creates and invokes small procedure. The second inlines the procedure.
mychip.cpu configure -event gdb-attach @{ puts "Reset..." ; reset halt @}
@end example
-Current Events
-
+@section Current Events
+The following events are available:
@itemize @bullet
@item @b{debug-halted}
@* The target has halted for debug reasons (ie: breakpoint)
@@ -1809,6 +1809,22 @@ Current Events
@* Success
@item @b{resumed}
@* Target has resumed
+@item @b{tap-enable}
+@* Executed by @b{jtag tapenable DOTTED.NAME} command. Example:
+@example
+jtag configure DOTTED.NAME -event tap-enable @{
+ puts "Enabling CPU"
+ ...
+@}
+@end example
+@item @b{tap-disable}
+@*Executed by @b{jtag tapdisable DOTTED.NAME} command. Example:
+@example
+jtag configure DOTTED.NAME -event tap-disable @{
+ puts "Disabling CPU"
+ ...
+@}
+@end example
@end itemize