diff include/jtag.h @ 7:61f27549de57

Support TRST.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 22 Feb 2009 14:20:57 +0800
parents abf221bf3ce4
children cc106f278d7d
line wrap: on
line diff
--- a/include/jtag.h	Sun Feb 22 14:12:29 2009 +0800
+++ b/include/jtag.h	Sun Feb 22 14:20:57 2009 +0800
@@ -9,8 +9,10 @@
 #define JTAG_TMS PINB1
 #define JTAG_TDI PINB2
 #define JTAG_TDO PINB3
+#define JTAG_TRST PINB4
 
 extern void jtag_init(void);
+extern void jtag_trst(void);
 extern void jtag_tms(char *buf, int nbits);
 extern void jtag_shift(char *buf, int nbits);
 extern void jtag_shift_inout(char *ibuf, char *obuf, int nbits);