projects
/
fx2fw-sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 4.2.0
[fx2fw-sdcc]
/
hardware.h
diff --git
a/hardware.h
b/hardware.h
index
59f29e6
..
4cb5d02
100644
(file)
--- a/
hardware.h
+++ b/
hardware.h
@@
-1,68
+1,34
@@
/*-----------------------------------------------------------------------------
\r
/*-----------------------------------------------------------------------------
\r
-
\r
* Hardware-dependent code for usb_jtag
\r
* Hardware-dependent code for usb_jtag
\r
-
\r
*-----------------------------------------------------------------------------
\r
*-----------------------------------------------------------------------------
\r
-
\r
* Copyright (C) 2007 Kolja Waschk, ixo.de
\r
* Copyright (C) 2007 Kolja Waschk, ixo.de
\r
-
\r
*-----------------------------------------------------------------------------
\r
*-----------------------------------------------------------------------------
\r
-
\r
* This code is part of usbjtag. usbjtag is free software; you can redistribute
\r
* This code is part of usbjtag. usbjtag is free software; you can redistribute
\r
-
\r
* it and/or modify it under the terms of the GNU General Public License as
\r
* it and/or modify it under the terms of the GNU General Public License as
\r
-
\r
* published by the Free Software Foundation; either version 2 of the License,
\r
* published by the Free Software Foundation; either version 2 of the License,
\r
-
\r
* or (at your option) any later version. usbjtag is distributed in the hope
\r
* or (at your option) any later version. usbjtag is distributed in the hope
\r
-
\r
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
\r
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
\r
-
\r
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
-
\r
* GNU General Public License for more details. You should have received a
\r
* GNU General Public License for more details. You should have received a
\r
-
\r
* copy of the GNU General Public License along with this program in the file
\r
* copy of the GNU General Public License along with this program in the file
\r
-
\r
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
\r
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
\r
-
\r
* St, Fifth Floor, Boston, MA 02110-1301 USA
\r
* St, Fifth Floor, Boston, MA 02110-1301 USA
\r
-
\r
*-----------------------------------------------------------------------------
\r
*-----------------------------------------------------------------------------
\r
-
\r
*/
\r
\r
*/
\r
\r
-
\r
-
\r
#ifndef _HARDWARE_H
\r
#ifndef _HARDWARE_H
\r
-
\r
#define _HARDWARE_H 1
\r
\r
#define _HARDWARE_H 1
\r
\r
-
\r
-
\r
extern void ProgIO_Init(void);
\r
extern void ProgIO_Init(void);
\r
-
\r
extern void ProgIO_Poll(void);
\r
extern void ProgIO_Poll(void);
\r
-
\r
extern void ProgIO_Enable(void);
\r
extern void ProgIO_Enable(void);
\r
-
\r
extern void ProgIO_Disable(void);
\r
extern void ProgIO_Disable(void);
\r
-
\r
extern void ProgIO_Deinit(void);
\r
\r
extern void ProgIO_Deinit(void);
\r
\r
-
\r
-
\r
extern void ProgIO_Set_State(unsigned char d);
\r
extern void ProgIO_Set_State(unsigned char d);
\r
-
\r
extern unsigned char ProgIO_Set_Get_State(unsigned char d);
\r
extern unsigned char ProgIO_Set_Get_State(unsigned char d);
\r
-
\r
extern void ProgIO_ShiftOut(unsigned char x);
\r
extern void ProgIO_ShiftOut(unsigned char x);
\r
-
\r
extern unsigned char ProgIO_ShiftInOut(unsigned char x);
\r
\r
extern unsigned char ProgIO_ShiftInOut(unsigned char x);
\r
\r
-
\r
-
\r
#endif /* _HARDWARE_H */
\r
\r
#endif /* _HARDWARE_H */
\r
\r
-
\r
-
\r