tdictrl.h

来自「Usb Host/Periphel Control TD1120 codes」· C头文件 代码 · 共 98 行

H
98
字号
/*-----------------------------------------------------------------------------
$File: //tdi_sw/tdi/source/usb/common/tdictrl.h $
$DateTime: 2004/12/20 19:06:16 $
$Revision: #6 $
Purpose: Public interface to USB controller which is the top level controller
         which could includes host controller, peripheral controller and/or otg
         controller.

CONFIDENTIAL AND PROPRIETARY INFORMATION OF TRANSDIMENSION, INC. 
AND/OR ITS WHOLLY OWNED SUBSIDIARY SOFTCONNEX TECHNOLOGIES, INC.

THIS NOTICE IS NOT TO BE DELETED, MODIFIED, MOVED OR CHANGED IN ANY WAY.

(TransDimension, Inc. and SoftConnex Technologies, Inc. are referred to 
collectively below as TransDimension, Inc.)
Copyright (c) 1999 - 2004 by TransDimension, Inc. 

This software is protected by copyright laws and international copyright 
treaties, as well as other intellectual property laws and treaties.  This
software is a CONFIDENTIAL, unpublished work of authorship, and with portions 
constituting TRADE SECRETS of TransDimension, Inc..  Any unauthorized use, 
disclosure, and/or reproduction of this software, or any part of this software;
or distribution of this software in any form or by any means; or storage 
of this software in any database or retrieval system, without the express 
written consent of, and license from, TransDimension, Inc. is strictly prohibited.
This software is protected under the copyright and/or trade secret laws in other 
countries in addition to USA.  All Rights Reserved.  Failure to abide by the use, 
disclosure and/or reproduction restrictions may result in civil and /or criminal 
penalties, and will be prosecuted to the maximum extent of	the law.
-----------------------------------------------------------------------------*/

#ifndef _SOFTCONNEX_TDICTRL_H_
#define _SOFTCONNEX_TDICTRL_H_

/******************************************************************************
 Include Files
******************************************************************************/
#include "sc_types.h"

/******************************************************************************
 Public Definitions
******************************************************************************/

/******************************************************************************
 Public Data Types
******************************************************************************/



typedef enum _TransferSpeed
   {
   TRANSFER_SPEED_UNKNOWN,
   TRANSFER_SPEED_LOW,
   TRANSFER_SPEED_FULL,
   TRANSFER_SPEED_HIGH
   }
TransferSpeed;

typedef enum _TransferType
   {
   TRANSFER_TYPE_UNKNOWN,
   TRANSFER_TYPE_CTRL,
   TRANSFER_TYPE_BULK,
   TRANSFER_TYPE_INTR,
   TRANSFER_TYPE_ISOCH
   }
TransferType;

typedef enum _TransactionType
    {
    TRANSACTION_TYPE_UNKNOWN,
    TRANSACTION_TYPE_SETUP,
    TRANSACTION_TYPE_DATAIN,
    TRANSACTION_TYPE_DATAOUT,
    TRANSACTION_TYPE_STATUS
    }
TransactionType;

#define TDICONTROLLER_NAME_MAX     16
typedef struct _TdiControllerInfo
   {
   SctBool handleFullCtrlTransfer;
   SctBool otgCapable;
   UCPU otgPort;
   UCPU ctrlMaxTransferSize;
   UCPU resetDuration;
   U32 revision;
   U8 controllerName[TDICONTROLLER_NAME_MAX];
   }
TdiControllerInfo;

/******************************************************************************
 Public Functions
******************************************************************************/


#endif /* _SOFTCONNEX_TDICTRL_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?