📄 project.h
字号:
/*------------------------------------------------------------------------------
$File: //tdi_sw/tdi/projects/usb/custom/pcd_1120/acm/project.h $
$DateTime: 2004/12/20 22:18:07 $
$Revision: #6 $
Purpose: This file contains the project specific settings for USBLink.
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_PROJECT_H_
#define _SOFTCONNEX_PROJECT_H_
/******************************************************************************
Include Files
******************************************************************************/
#include "sc_types.h"
#include "platform.h"
#include "tdictrl.h"
#include "usbdesc.h"
#include "pcd.h"
#include "pcd_acm.h"
#include "papp_eve.h"
#include "sc_print.h"
#include "sc_error.h"
/* Only of these can be defined
#define PROJECT_DUAL_ROLE 1
#define PROJECT_HOST_ONLY 1
*/
#define PROJECT_PERIPH_ONLY 1
/*
#define PROJECT_BIG_ENDIAN 1
*/
/******************************************************************************
Public Definitions
******************************************************************************/
/******************************************************************************
Public Data Types
******************************************************************************/
typedef struct _PcdDriverEntry
{
SctStatus (*getControllerBaseAddrAndIrq)(U32* baseAddress, U8* irq);
SctBool (*verifyControllerId)(U32 baseAddress);
SctStatus (*createController)(U32 baseAddress, TdiPeriphController** pc);
SctStatus (*destroyController)(TdiPeriphController* pc);
}
PcdDriverEntry;
#endif /* _SOFTCONNEX_PROJECT_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -