X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fjtag%2Fbitbang.h;h=060b689d3f9984590adf3405c8eed28db2bf433d;hb=8d6dcb9d39f0f948ef44beff991337b830fc4567;hp=7049f4353d596cf5be419df26da2cb8cebe3f81a;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702;p=openocd diff --git a/src/jtag/bitbang.h b/src/jtag/bitbang.h index 7049f435..060b689d 100644 --- a/src/jtag/bitbang.h +++ b/src/jtag/bitbang.h @@ -2,6 +2,9 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2007,2008 Øyvind Harboe * + * oyvind.harboe@zylin.com * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -27,10 +30,11 @@ typedef struct bitbang_interface_s int (*read)(void); void (*write)(int tck, int tms, int tdi); void (*reset)(int trst, int srst); + void (*blink)(int on); } bitbang_interface_t; extern bitbang_interface_t *bitbang_interface; -extern int bitbang_execute_queue(void); +int bitbang_execute_queue(void); #endif /* BITBANG_H */