Ticket #20526: patch-serjtag.h.diff

File patch-serjtag.h.diff, 546 bytes (added by ranauei@…, 15 years ago)
  • new file serjtag.h

    - +  
     1#ifndef serjtag_h
     2#define serjtag_h
     3
     4#include "avrpart.h"
     5
     6#define JTAG_BUFSIZE    64
     7
     8/* flags */
     9#define JTAG_RECIEVE    0x80
     10#define JTAG_TMS_HIGH   0x40
     11#define JTAG_USE_DELAY  0x10
     12#define JTAG_BITS       0x7
     13
     14/* 's' command (JTAG_SET) flags */
     15#define JTAG_SET_TDI    0x80
     16#define JTAG_SET_TMS    0x40
     17#define JTAG_SET_TCK    0x20
     18#define JTAG_SET_DELAY  0x0f
     19
     20void serjtag_initpgm (PROGRAMMER * pgm);
     21
     22#endif /* serjtag_h */