comparison include/jtag.h @ 10:cc106f278d7d

Get identify of components
author Thinker K.F. Li <thinker@branda.to>
date Tue, 24 Feb 2009 13:32:04 +0800
parents 61f27549de57
children
comparison
equal deleted inserted replaced
9:705da39cdf91 10:cc106f278d7d
11 #define JTAG_TDO PINB3 11 #define JTAG_TDO PINB3
12 #define JTAG_TRST PINB4 12 #define JTAG_TRST PINB4
13 13
14 extern void jtag_init(void); 14 extern void jtag_init(void);
15 extern void jtag_trst(void); 15 extern void jtag_trst(void);
16 extern void jtag_tms(char *buf, int nbits); 16 extern void jtag_tms(unsigned char *buf, int nbits);
17 extern void jtag_shift(char *buf, int nbits); 17 extern void jtag_shift(unsigned char *buf, int nbits);
18 extern void jtag_shift_inout(char *ibuf, char *obuf, int nbits); 18 extern void jtag_shift_inout(unsigned char *ibuf, unsigned char *obuf,
19 int nbits);
19 20
20 #endif /* __JTAG_H_ */ 21 #endif /* __JTAG_H_ */