updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / avrdude-serjtag / patch-serjtag.h.diff
blob98092ca16c03033bd760a3c198620f401d50b062
1 --- /dev/null 2009-08-02 22:44:47.000000000 +0200
2 +++ serjtag.h 2009-08-02 21:56:45.000000000 +0200
3 @@ -0,0 +1,22 @@
4 +#ifndef serjtag_h
5 +#define serjtag_h
7 +#include "avrpart.h"
9 +#define JTAG_BUFSIZE 64
11 +/* flags */
12 +#define JTAG_RECIEVE 0x80
13 +#define JTAG_TMS_HIGH 0x40
14 +#define JTAG_USE_DELAY 0x10
15 +#define JTAG_BITS 0x7
17 +/* 's' command (JTAG_SET) flags */
18 +#define JTAG_SET_TDI 0x80
19 +#define JTAG_SET_TMS 0x40
20 +#define JTAG_SET_TCK 0x20
21 +#define JTAG_SET_DELAY 0x0f
23 +void serjtag_initpgm (PROGRAMMER * pgm);
25 +#endif /* serjtag_h */