OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or_debug_proxy/] [includes/] [usb_driver_calls.h] - Blame information for rev 47

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 julius
/*$$HEADER*/
2
/******************************************************************************/
3
/*                                                                            */
4
/*                    H E A D E R   I N F O R M A T I O N                     */
5
/*                                                                            */
6
/******************************************************************************/
7
 
8
// Project Name                   : OpenRISC Debug Proxy
9
// File Name                      : usb_functions.h
10
// Prepared By                    : jb
11
// Project Start                  : 2008-10-01
12
 
13
/*$$COPYRIGHT NOTICE*/
14
/******************************************************************************/
15
/*                                                                            */
16
/*                      C O P Y R I G H T   N O T I C E                       */
17
/*                                                                            */
18
/******************************************************************************/
19
/*
20
  This library is free software; you can redistribute it and/or
21
  modify it under the terms of the GNU Lesser General Public
22
  License as published by the Free Software Foundation;
23
  version 2.1 of the License, a copy of which is available from
24
  http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
25
 
26
  This library is distributed in the hope that it will be useful,
27
  but WITHOUT ANY WARRANTY; without even the implied warranty of
28
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
29
  Lesser General Public License for more details.
30
 
31
  You should have received a copy of the GNU Lesser General Public
32
  License along with this library; if not, write to the Free Software
33
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
34
*/
35
 
36
/*$$CHANGE HISTORY*/
37
/******************************************************************************/
38
/*                                                                            */
39
/*                         C H A N G E  H I S T O R Y                         */
40
/*                                                                            */
41
/******************************************************************************/
42
 
43
// Date         Version Description
44
//------------------------------------------------------------------------
45
// 090301       1.0     Generic header file for modules containing the 
46
//                      platform specific D2XX MPSSE JTAG driver calls. jb
47
// 
48
 
49
#ifndef CYGWIN_COMPILE
50
#include "FT2232cMpsseJtag.h"
51
#else
52
#include "win_FTCJTAG.h"
53
#endif
54
 
55
// Function prototypes
56
FTC_STATUS
57
FT2232_USB_JTAG_WriteDataToExternalDevice(
58
                                          //FTC_HANDLE ftHandle, 
59
                                          BOOL bInstructionTestData,
60
                                          DWORD dwNumBitsToWrite,
61
                                          PWriteDataByteBuffer pWriteDataBuffer,
62
                                          DWORD dwNumBytesToWrite,
63
                                          DWORD dwTapControllerState);
64
 
65
 
66
FTC_STATUS
67
FT2232_USB_JTAG_ReadDataFromExternalDevice(
68
                                           //FTC_HANDLE ftHandle, 
69
                                            BOOL bInstructionTestData,
70
                                            DWORD dwNumBitsToRead,
71
                                            PReadDataByteBuffer pReadDataBuffer,
72
                                            LPDWORD lpdwNumBytesReturned,
73
                                            DWORD dwTapControllerState);
74
FTC_STATUS
75
FT2232_USB_JTAG_WriteReadDataToFromExternalDevice(
76
                                                  //FTC_HANDLE ftHandle, 
77
                                                  BOOL bInstructionTestData,
78
                                                  DWORD dwNumBitsToWriteRead,
79
                                                  PWriteDataByteBuffer pWriteDataBuffer,
80
                                                  DWORD dwNumBytesToWrite,
81
                                                  PReadDataByteBuffer pReadDataBuffer,
82
                                                  LPDWORD lpdwNumBytesReturned,
83
                                                  DWORD dwTapControllerState);
84
 
85
FTC_STATUS
86
FT2232_USB_JTAG_CloseDevice();
87
 
88
int init_usb_jtag();
89 47 julius
void reinit_usb_jtag(void);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.