Mercurial > avr_jtag
comparison 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 |
comparison
equal
deleted
inserted
replaced
6:42dec3428c77 | 7:61f27549de57 |
---|---|
7 #define JTAG_PIN PINB | 7 #define JTAG_PIN PINB |
8 #define JTAG_TCK PINB0 | 8 #define JTAG_TCK PINB0 |
9 #define JTAG_TMS PINB1 | 9 #define JTAG_TMS PINB1 |
10 #define JTAG_TDI PINB2 | 10 #define JTAG_TDI PINB2 |
11 #define JTAG_TDO PINB3 | 11 #define JTAG_TDO PINB3 |
12 #define JTAG_TRST PINB4 | |
12 | 13 |
13 extern void jtag_init(void); | 14 extern void jtag_init(void); |
15 extern void jtag_trst(void); | |
14 extern void jtag_tms(char *buf, int nbits); | 16 extern void jtag_tms(char *buf, int nbits); |
15 extern void jtag_shift(char *buf, int nbits); | 17 extern void jtag_shift(char *buf, int nbits); |
16 extern void jtag_shift_inout(char *ibuf, char *obuf, int nbits); | 18 extern void jtag_shift_inout(char *ibuf, char *obuf, int nbits); |
17 | 19 |
18 #endif /* __JTAG_H_ */ | 20 #endif /* __JTAG_H_ */ |