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
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)
@* 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