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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or_debug_proxy/] [includes/] [usb_driver_calls.h] - Diff between revs 39 and 47

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 39 Rev 47
/*$$HEADER*/
/*$$HEADER*/
/******************************************************************************/
/******************************************************************************/
/*                                                                            */
/*                                                                            */
/*                    H E A D E R   I N F O R M A T I O N                     */
/*                    H E A D E R   I N F O R M A T I O N                     */
/*                                                                            */
/*                                                                            */
/******************************************************************************/
/******************************************************************************/
 
 
// Project Name                   : OpenRISC Debug Proxy
// Project Name                   : OpenRISC Debug Proxy
// File Name                      : usb_functions.h
// File Name                      : usb_functions.h
// Prepared By                    : jb
// Prepared By                    : jb
// Project Start                  : 2008-10-01
// Project Start                  : 2008-10-01
 
 
/*$$COPYRIGHT NOTICE*/
/*$$COPYRIGHT NOTICE*/
/******************************************************************************/
/******************************************************************************/
/*                                                                            */
/*                                                                            */
/*                      C O P Y R I G H T   N O T I C E                       */
/*                      C O P Y R I G H T   N O T I C E                       */
/*                                                                            */
/*                                                                            */
/******************************************************************************/
/******************************************************************************/
/*
/*
  This library is free software; you can redistribute it and/or
  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation;
  License as published by the Free Software Foundation;
  version 2.1 of the License, a copy of which is available from
  version 2.1 of the License, a copy of which is available from
  http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
  http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
 
 
  This library is distributed in the hope that it will be useful,
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.
  Lesser General Public License for more details.
 
 
  You should have received a copy of the GNU Lesser General Public
  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/
*/
 
 
/*$$CHANGE HISTORY*/
/*$$CHANGE HISTORY*/
/******************************************************************************/
/******************************************************************************/
/*                                                                            */
/*                                                                            */
/*                         C H A N G E  H I S T O R Y                         */
/*                         C H A N G E  H I S T O R Y                         */
/*                                                                            */
/*                                                                            */
/******************************************************************************/
/******************************************************************************/
 
 
// Date         Version Description
// Date         Version Description
//------------------------------------------------------------------------
//------------------------------------------------------------------------
// 090301       1.0     Generic header file for modules containing the 
// 090301       1.0     Generic header file for modules containing the 
//                      platform specific D2XX MPSSE JTAG driver calls. jb
//                      platform specific D2XX MPSSE JTAG driver calls. jb
// 
// 
 
 
#ifndef CYGWIN_COMPILE
#ifndef CYGWIN_COMPILE
#include "FT2232cMpsseJtag.h"
#include "FT2232cMpsseJtag.h"
#else
#else
#include "win_FTCJTAG.h"
#include "win_FTCJTAG.h"
#endif
#endif
 
 
// Function prototypes
// Function prototypes
FTC_STATUS
FTC_STATUS
FT2232_USB_JTAG_WriteDataToExternalDevice(
FT2232_USB_JTAG_WriteDataToExternalDevice(
                                          //FTC_HANDLE ftHandle, 
                                          //FTC_HANDLE ftHandle, 
                                          BOOL bInstructionTestData,
                                          BOOL bInstructionTestData,
                                          DWORD dwNumBitsToWrite,
                                          DWORD dwNumBitsToWrite,
                                          PWriteDataByteBuffer pWriteDataBuffer,
                                          PWriteDataByteBuffer pWriteDataBuffer,
                                          DWORD dwNumBytesToWrite,
                                          DWORD dwNumBytesToWrite,
                                          DWORD dwTapControllerState);
                                          DWORD dwTapControllerState);
 
 
 
 
FTC_STATUS
FTC_STATUS
FT2232_USB_JTAG_ReadDataFromExternalDevice(
FT2232_USB_JTAG_ReadDataFromExternalDevice(
                                           //FTC_HANDLE ftHandle, 
                                           //FTC_HANDLE ftHandle, 
                                            BOOL bInstructionTestData,
                                            BOOL bInstructionTestData,
                                            DWORD dwNumBitsToRead,
                                            DWORD dwNumBitsToRead,
                                            PReadDataByteBuffer pReadDataBuffer,
                                            PReadDataByteBuffer pReadDataBuffer,
                                            LPDWORD lpdwNumBytesReturned,
                                            LPDWORD lpdwNumBytesReturned,
                                            DWORD dwTapControllerState);
                                            DWORD dwTapControllerState);
FTC_STATUS
FTC_STATUS
FT2232_USB_JTAG_WriteReadDataToFromExternalDevice(
FT2232_USB_JTAG_WriteReadDataToFromExternalDevice(
                                                  //FTC_HANDLE ftHandle, 
                                                  //FTC_HANDLE ftHandle, 
                                                  BOOL bInstructionTestData,
                                                  BOOL bInstructionTestData,
                                                  DWORD dwNumBitsToWriteRead,
                                                  DWORD dwNumBitsToWriteRead,
                                                  PWriteDataByteBuffer pWriteDataBuffer,
                                                  PWriteDataByteBuffer pWriteDataBuffer,
                                                  DWORD dwNumBytesToWrite,
                                                  DWORD dwNumBytesToWrite,
                                                  PReadDataByteBuffer pReadDataBuffer,
                                                  PReadDataByteBuffer pReadDataBuffer,
                                                  LPDWORD lpdwNumBytesReturned,
                                                  LPDWORD lpdwNumBytesReturned,
                                                  DWORD dwTapControllerState);
                                                  DWORD dwTapControllerState);
 
 
FTC_STATUS
FTC_STATUS
FT2232_USB_JTAG_CloseDevice();
FT2232_USB_JTAG_CloseDevice();
 
 
int init_usb_jtag();
int init_usb_jtag();
 
void reinit_usb_jtag(void);
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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