diff options
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 04eefaad..5fbe7dc1 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -218,6 +218,17 @@ enum reset_line_mode { LINE_PUSH_PULL = 0x1, }; +/* + * There are three cases when JTAG_TRST_ASSERTED callback is invoked. The + * event is invoked *after* TRST is asserted(or queued rather). It is illegal + * to communicate with the JTAG interface during the callback(as there is + * currently a queue being built). + * + * - TMS reset + * - SRST pulls TRST + * - TRST asserted + * + **/ enum jtag_event { JTAG_TRST_ASSERTED }; |