1 /*-----------------------------------------------------------------------------
\r
3 * Hardware-dependent code for usb_jtag
\r
5 *-----------------------------------------------------------------------------
\r
7 * Copyright (C) 2007 Kolja Waschk, ixo.de
\r
9 *-----------------------------------------------------------------------------
\r
11 * This code is part of usbjtag. usbjtag is free software; you can redistribute
\r
13 * it and/or modify it under the terms of the GNU General Public License as
\r
15 * published by the Free Software Foundation; either version 2 of the License,
\r
17 * or (at your option) any later version. usbjtag is distributed in the hope
\r
19 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
\r
21 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
23 * GNU General Public License for more details. You should have received a
\r
25 * copy of the GNU General Public License along with this program in the file
\r
27 * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
\r
29 * St, Fifth Floor, Boston, MA 02110-1301 USA
\r
31 *-----------------------------------------------------------------------------
\r
39 #define _HARDWARE_H 1
\r
43 extern void ProgIO_Init(void);
\r
45 extern void ProgIO_Poll(void);
\r
47 extern void ProgIO_Enable(void);
\r
49 extern void ProgIO_Disable(void);
\r
51 extern void ProgIO_Deinit(void);
\r
55 extern void ProgIO_Set_State(unsigned char d);
\r
57 extern unsigned char ProgIO_Set_Get_State(unsigned char d);
\r
59 extern void ProgIO_ShiftOut(unsigned char x);
\r
61 extern unsigned char ProgIO_ShiftInOut(unsigned char x);
\r
65 #endif /* _HARDWARE_H */
\r