⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platform.h

📁 Usb Host/Periphel Control TD1120 codes
💻 H
字号:
/*------------------------------------------------------------------------------
$File: //tdi_sw/tdi/source/hardware/custom/platform.h $
$DateTime: 2005/01/31 21:18:48 $
$Revision: #11 $
Purpose: This file contains the platform specific settings.

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_PLATFORM_H_
#define _SOFTCONNEX_PLATFORM_H_

/*------------------------------------------------------------------------------
NOTE: Platform.h was created to seperate platform specific parameters from 
      project.h.  This helps in creating a generic ???? abstraction without usb
      specific parameter dependencies.
------------------------------------------------------------------------------*/

/******************************************************************************
 Include Files
******************************************************************************/
#error Please define print macros in sc_print.h file
#include "project.h"


/*------------------------------------------------------------------------------
SC_INLINE - If this compiler supports inline functions define this to be the 
   pragma, decl or just the keyword inline, whichever the compiler supports. 
   Otherwise define it to nothing and it will wash out in the build.
------------------------------------------------------------------------------*/

#define INLINE 
#define STATIC static

#define PLATFORM_TDI_16_BIT_DATA_BUS   1
#define PLATFORM_BIG_ENDIAN            0

/******************************************************************************
 Public Definitions: Processor/Board/Bus-specific functions
******************************************************************************/
#error Following platform-specific macros should be defined by the user

#define SYS_DisableInterrupts(irq)                 /* Define this */
#define SYS_EnableInterrupts(irq)                  /* Define this */
#define SYS_HookISR(irq, function)                 /* Define this */
#define SYS_UnhookISR(irq, function)               /* Define this */

#define SYS_Read1120P_Register(baseAddress, offset)           /* Define this */
#define SYS_Write1120P_Register(baseAddress, offset, value)   /* Define this */
#define SYS_Read1120H_Register(baseAddress, offset)           /* Define this */
#define SYS_Write1120H_Register(baseAddress, offset, value)   /* Define this */
#define SYS_GetBaseAddrAndIrq(baseAddress, irq)            /* Define this */

/******************************************************************************
 Public Definitions: Standalone/OS-specific functions
******************************************************************************/
#error Following platform-specific macros should be defined by the user

#define SYS_Malloc(size)                           /* Define this */
#define SYS_MallocNoncached(size)                  /* Define this */
#define SYS_Free(buffer)                           /* Define this */
#define SYS_FreeNoncached(buffer)                  /* Define this */
#define SYS_MemSet(ptr, val, len)                  /* Define this */
#define SYS_MemMove(dest, src, len)                /* Define this */

#error Please define the interrupt handler type
#define SYS_INTERRUPT_HANDLER_PROTOTYPE(handlerName)  /* Define this */

#endif  /* _SOFTCONNEX_PLATFORM_H_ */

⌨️ 快捷键说明

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