source: trunk/FirmwareFX2/hardware.h@ 23

Last change on this file since 23 was 4, checked in by demin, 15 years ago

initial commit

File size: 1.6 KB
Line 
1/*-----------------------------------------------------------------------------
2 * Hardware-dependent code for usb_jtag
3 *-----------------------------------------------------------------------------
4 * Copyright (C) 2007 Kolja Waschk, ixo.de
5 *-----------------------------------------------------------------------------
6 * This code is part of usbjtag. usbjtag is free software; you can redistribute
7 * it and/or modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the License,
9 * or (at your option) any later version. usbjtag is distributed in the hope
10 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
11 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. You should have received a
13 * copy of the GNU General Public License along with this program in the file
14 * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
15 * St, Fifth Floor, Boston, MA 02110-1301 USA
16 *-----------------------------------------------------------------------------
17 */
18
19#ifndef _HARDWARE_H
20#define _HARDWARE_H 1
21
22extern void ProgIO_Init(void);
23extern void ProgIO_Poll(void);
24extern void ProgIO_Enable(void);
25extern void ProgIO_Disable(void);
26extern void ProgIO_Deinit(void);
27
28extern void ProgIO_Set_State(unsigned char d);
29extern unsigned char ProgIO_Set_Get_State(unsigned char d);
30extern void ProgIO_ShiftOut(unsigned char x);
31extern unsigned char ProgIO_ShiftInOut(unsigned char x);
32
33#endif /* _HARDWARE_H */
34
Note: See TracBrowser for help on using the repository browser.