亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sdti.h

?? dsp2808控制的代碼
?? H
?? 第 1 頁 / 共 2 頁
字號(hào):
/*H***************************************************************************
*
* $Archive:: /TI/product/sdtsrv/USER/Sdti.h                                  $
* $Revision:: 7                                                              $
* $Date:: 7/30/02 10:33a                                                     $
* $Author:: Tonyc                                                            $
*
* DESCRIPTION:
*
* USAGE/LIMITATIONS:
*
* NOTES:
*   
* (C) Copyright 2000 by Spectrum Digital Incorporated
* All rights reserved
*
*H***************************************************************************/

#ifndef sdti_h
#define sdti_h

/*---- compilation control switches ----------------------------------------*/

/*****************************************************************************
* INCLUDE FILES (minimize nesting of header files)
*****************************************************************************/
#if defined( _WIN32 )
    #if (_MSC_VER >= 900 )
       #define	WIN32_LEAN_AND_MEAN
       #define 	INC_OLE2
       #define	NOSERVICE
    #endif 

    #include <windows.h>
#else  
    #include <stdlib.h>
    #include <string.h>
    #include <file.h>
	// Define BOOL if not in a WIN32 environment
	#define BOOL int   
#endif
/*---- system and platform files -------------------------------------------*/

/*---- program files -------------------------------------------------------*/

/*****************************************************************************
* FILE CONTENT
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

/*****************************************************************************
* FUNCTIONAL AREA DETAIL
*****************************************************************************/
//----------------------------------------------------------------------------
// Interface Version/Revision 
//
#define SDTI_VERSION        2
#define SDTI_REVISION       1

//----------------------------------------------------------------------------
// Sub-Interface Version/Revision 
//
#define SDTI_CFG_VERSION        1
#define SDTI_CFG_REVISION       1

#define SDTI_REG_VERSION        1
#define SDTI_REG_REVISION       1

#define SDTI_MEM_VERSION        2
#define SDTI_MEM_REVISION       1

// REVISION 2 - changes
// 1) Set unused bits of TREG to 0 on read
#define SDTI_EVT_VERSION        1
#define SDTI_EVT_REVISION       2

// REVISION 2 - changes
// 1) Added in realtime functions EnterRealtimeMode() and ExitRealtimeMode().
//    These functions are supported on C28x, C55xx, and C64xx via TI
//    IceMaker emulation.  These functions are basicly pass-through to lower
//    level of emulation drivers and may require additional setup external
//    to SDTI.
#define SDTI_EXE_VERSION        1
#define SDTI_EXE_REVISION       2

//----------------------------------------------------------------------------
// Interface handle
//
typedef void * SDTI_HNDL;

//----------------------------------------------------------------------------
// Target register types
//
typedef unsigned char  TREG_8;			// 8-bit register
typedef unsigned short TREG_16;			// 16-bit register
typedef unsigned long  TREG_32;			// 32-bit register

typedef struct treg_64					// 33-64 bit register
{
    unsigned long   RegL;
    unsigned long   RegH;
}TREG_64, *PTREG_64;

typedef union treg
{
    TREG_8   Reg8;
    TREG_16  Reg16;
    TREG_32  Reg32;
    TREG_64  Reg64;
}TREG, * PTREG;

// TREG_DESC is used by sdti_regXXX.c to describe each target register
// 
typedef struct treg_desc
{
    char    *pRegName;		// Register name, hopefully match the data book
    int     RegSize;		// Read/Write size of the register
    int     RegId;			// An Id for the register, not really used
} TREG_DESC, * PTREG_DESC;

//----------------------------------------------------------------------------
// Target memory types
//
// For Harvard devices the memory space can be Program or Data.  For 
// compatibility with TI DSP there is also an I/O space.
// If the processor is not Harvard then use the default of M_NATURAL.
//
// MEM_ACCESS_SIZE provides a way to force target processor accesses
// to a certain access boundary.  This is generally required by byte
// addressable processors with I/O device access size restrictions.
// Some common rules to apply:
// 
// 1) If your processor is a 16 bit fixed point DSP that can only
//    perform 16 bit read/writes then use M_SIZE16 or M_SIZE_NATURAL.
//
// 2) If your processor is a 32 bit fixed point DSP that can only
//    perform 32 bit read/writes then use M_SIZE32 or M_SIZE_NATURAL.
//
// 3) If you processor is a byte addressable machine and you are
//    fetching program or data memory then M_SIZE_NATURAL is recommended.
//    Else, use the size that matches your processor bus width.
//
// 4) For other cases use the size that matches the access restrictions
//    of your I/O or memory devices.
//
// The arguments in TMEM_DESC are pretty obvious with exception
// of Asize and Bsize.  Asize is the access size of the processor
// memory read/write operation, see rules above.  Bsize is the
// size of an element in the read/write buffer.  By having the
// Bsize option the user can pass in a pointer to a 32 bit buffer
// that only has 16 bits of valid data in each 32 bit element.
// Example:
//    unsigned long  *pD32;
//    unsigned short *pD16;
// 
//    *pD32++ = (unsigned long)(*pD16++) & 0x0000FFFFL;
//
// Another example is when the buffer size is smaller then the
// target processor access size.  This is generally the case
// on a fixed point DSP where you want "char" data that is
// 8 bit instead of the 16 bit DSP "char".
// Example:
//     unsigned char *pD8;   // Host 8 bit char data
//     unsigned char *pD16;  // DSP 16 bit data
//  
//     *pD8++ = (unsigned char)(*pD16++);
//
// When the Asize and Bsize do not match the unused data bits
// are set to zero.
//
typedef enum mem_space
{
    M_NATURAL = 0,          // Natural space for processor, !Harvard
    M_PROGRAM,              // Program space
    M_DATA,                 // Data space
    M_IO                    // I/O space
}MEM_SPACE, * PMEM_SPACE;

typedef enum mem_access_size
{
    M_SIZE_NATURAL = 0,     // Natural size of processor memory bus
    M_SIZE8,                // 8-Bit
    M_SIZE16,               // 16-Bit
    M_SIZE32,               // 32-Bit
    M_SIZE64,               // 64-Bit
    M_COFF                  // Preserve TI-COFF accesses
}MEM_ACCESS_SIZE, * PMEM_ACCESS_SIZE;

typedef unsigned long   MEM_TADDR;  // 32 Bit memory address

typedef struct tmem
{
    MEM_TADDR           Taddr;      // Target address
    MEM_SPACE           Space;      // Target memory space
    MEM_ACCESS_SIZE     Asize;      // Target memory access size
    MEM_ACCESS_SIZE     Bsize;      // Host memory buffer access size
    unsigned long       Length;     // Number of elements in ACCESS_SIZE
    void            *   pData;      // Src/Dst data
} TMEM_DESC, *PTMEM_DESC;

//----------------------------------------------------------------------------
// Target event types
//
typedef enum evt_type
{
    EVT_NONE     = 0,               // No event
    EVT_HALT,                       // Target halted, by user or non-brkpoint
    EVT_SWBP,                       // Software
    EVT_HWIAQ,                      // Hardware break, Instruction
    EVT_HWDATA                      // Hardware break, Data access
}EVT_TYPE, * PEVT_TYPE;

typedef enum evt_system
{
    EVT_SYS_NONE     = 0,           // No event
	EVT_SYS_WARN,                   // Generic warning, not an error
    EVT_SYS_ERROR,                  // Generic non-target error
    EVT_SYS_TARGET,                 // Generic target error
    EVT_SYS_TARGET_DISCONNECT,      // Target is disconnected
    EVT_SYS_TARGET_LOSSPOWER,       // Target lost power
    EVT_SYS_TARGET_TIMED_OUT,       // Target operation timed out
    EVT_SYS_TARGET_IN_RESET,        // Target is being held in reset
    EVT_SYS_TARGET_NOT_READY,       // Target is being held not ready
    EVT_SYS_TARGET_BUS_FAULT,       // Target performed a bus fault     
}EVT_SYSTEM, * PEVT_SYSTEM;

typedef struct tevt
{
    unsigned            EvtId;      // The event Id
    MEM_TADDR           Taddr;      // Target address
    MEM_SPACE           Space;      // Target memory space
    EVT_TYPE            Type;       // Type of breakpoint
} TEVT_DESC, *PTEVT_DESC;

typedef struct tevt_stat
{
    // Event information that pertains to breakpoint type events
    unsigned            EvtId;      // The event Id
    MEM_TADDR           Taddr;      // Target address
    MEM_SPACE           Space;      // Target memory space
    EVT_TYPE            Type;       // Type of breakpoint
    
    // Event information that pertains to error type events
    EVT_SYSTEM          System;     // System events 
    int                 Error;
}TEVT_STAT_DESC, *PTEVT__STAT_DESC;

/*A***************************************************************************
* NAME:  Spectrum Digital Target Interface
*
* USAGE: Interface that can sit on top of GTI, OTI or others.  The 
*        interface is processor independent and you can specify your
*        "cpu" family during initialization.  Further, argument options that
*        do not cleanly fit into generic data types are passed in as 
*        strings.  This allows any number of options to be supported without
*        continually changing the interface.
*
* CONNECTION:
*        The interface has only 1 external function "SDTI_GetInterface. The
*        user calls this functions to get a pointer to the "Interface" which
*        contains configuration information plus all the functions (methods)
*        for the interface. You then access functions as follows:
*
*        pIntf->pCfg->Init(...);
*        pIntf->pCfg->Open(...);
*
*        The function SDTI_GetInterface includes a parameter pTargetFamily.
*        This parameter specifies which target processor you are targeting.
*        If the requested target family is not supported then NULL is 
*        returned for the interface.
*
*        This style of interface is most significant when  built as
*        a DLL and explicitly loaded by the caller.  In this case you only
*        have to get a reference to one function "SDTI_GetInterface" then
*        call it to get everything you need to know about the interface.
*
* VERSION/REVISION:
*         The interface provides a version/revision.  The caller should 
*         always check for interface version/revision compatibility.  
*         "Version" changes when a significant change to the interface 
*         occurs that would effect backward compatibility.  "Revision"
*         changes when a minor change occurs that would not affect backward
*         compatibility.  You can also use sizeof( SD_TARGET_INTERFACE )
*         and compare to "StructSz" for another level of checking.
* 
* RETURN : 
*         Return types follow the Microsoft convention 
*         1 - True/Success.  The function completed without error.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91日韩在线专区| 国产日韩精品一区| 久久国产成人午夜av影院| 亚洲精品一区二区三区福利 | 在线看国产日韩| 亚洲国产视频网站| 日韩一区二区在线播放| 国产一区二区三区国产| 国产精品沙发午睡系列990531| av在线播放成人| 在线播放91灌醉迷j高跟美女 | 亚洲色图都市小说| 在线看不卡av| 麻豆精品视频在线观看免费 | 亚洲国产一区二区a毛片| 91精品国产一区二区人妖| 国产一区二区伦理片| ...av二区三区久久精品| 欧美日韩免费在线视频| 免播放器亚洲一区| 欧美韩国日本一区| 欧洲一区二区三区在线| 久久精品久久综合| 国产精品久久久久久久久久免费看| 欧美中文字幕一二三区视频| 精品一区二区三区在线观看国产| 国产精品久久久久婷婷二区次| 欧美日韩在线不卡| 国产精品一品二品| 亚洲国产视频直播| 久久久午夜精品理论片中文字幕| 91老师片黄在线观看| 美女脱光内衣内裤视频久久网站| 欧美国产1区2区| 欧美二区三区的天堂| 国产一区二三区| 色八戒一区二区三区| 日韩精品一二三四| 中文字幕欧美日本乱码一线二线| 欧美三级乱人伦电影| 国产乱人伦偷精品视频不卡| 一区二区三区日韩精品| 久久亚洲一区二区三区明星换脸| 在线一区二区三区| 国产精品一线二线三线| 亚洲成av人片一区二区三区| 久久亚洲二区三区| 精品视频免费看| 国产盗摄精品一区二区三区在线| 亚洲一本大道在线| 国产精品视频在线看| 91精品午夜视频| 色综合天天综合网天天看片| 国产在线不卡一卡二卡三卡四卡| 亚洲网友自拍偷拍| 国产精品久久久久久久久搜平片| 日韩欧美一级片| 欧洲色大大久久| 播五月开心婷婷综合| 精品在线免费观看| 香蕉乱码成人久久天堂爱免费| 国产精品免费人成网站| 精品国产伦一区二区三区观看体验| 欧美亚洲综合一区| 99热99精品| 国产精品资源在线观看| 蜜臀av一区二区三区| 亚洲一区二区三区在线看| 国产精品成人免费| 国产三级一区二区三区| 日韩一区二区三区观看| 欧美视频一区二区在线观看| aaa亚洲精品| 国v精品久久久网| 国产又粗又猛又爽又黄91精品| 亚洲成人一二三| 亚洲精品国久久99热| 国产精品麻豆一区二区| 国产午夜精品一区二区三区嫩草| 日韩欧美自拍偷拍| 91精品在线观看入口| 欧美日韩国产天堂| 欧美吞精做爰啪啪高潮| 色综合视频在线观看| 成人福利视频在线看| 国产成人免费xxxxxxxx| 国产一区二区三区四区五区美女| 三级久久三级久久| 偷拍与自拍一区| 亚洲丶国产丶欧美一区二区三区| 亚洲欧美日韩在线| 亚洲色图第一区| 国产精品不卡在线| 国产精品女主播av| 中文字幕av一区二区三区免费看 | 欧美高清视频一二三区| 在线亚洲+欧美+日本专区| 91麻豆自制传媒国产之光| av动漫一区二区| 成人性生交大片免费看中文 | 欧美乱妇一区二区三区不卡视频| 91国模大尺度私拍在线视频| 99麻豆久久久国产精品免费| www.亚洲国产| 91免费版在线看| 色天使久久综合网天天| 日韩一区二区在线播放| 免费人成精品欧美精品| 亚洲免费在线看| 精品一区二区三区久久| 在线日韩av片| 欧美丰满少妇xxxbbb| 男男成人高潮片免费网站| 懂色av噜噜一区二区三区av| 国产精品88av| 亚洲国产精品传媒在线观看| 欧美精品一卡二卡| 欧美电影在线免费观看| 肉色丝袜一区二区| 91网站在线播放| 91尤物视频在线观看| 91麻豆国产福利精品| av激情亚洲男人天堂| 欧美va亚洲va国产综合| 精品国产乱码久久久久久影片| 日韩欧美视频一区| 欧美日韩另类国产亚洲欧美一级| 亚洲精品一区二区三区精华液| 日本精品一区二区三区四区的功能| eeuss鲁一区二区三区| 日韩二区在线观看| 日韩综合在线视频| 天堂午夜影视日韩欧美一区二区| 日韩电影免费在线看| 日韩va欧美va亚洲va久久| 99精品在线观看视频| 91麻豆6部合集magnet| 国产美女视频一区| 欧美一区二区三区在线视频| 日韩欧美中文字幕一区| 日韩一区二区影院| 久久精品欧美日韩| 天天免费综合色| 欧美精品123区| 欧美一区二区三区在线电影| **网站欧美大片在线观看| 亚洲女女做受ⅹxx高潮| 欧美在线观看禁18| 美腿丝袜亚洲色图| 国产欧美一区二区精品婷婷| 91在线免费看| 亚洲国产精品一区二区久久| 天天综合网天天综合色| 成人免费视频免费观看| 国产福利一区二区三区在线视频| 成人在线一区二区三区| 欧美xfplay| 99精品热视频| 91小视频免费看| 久久激情综合网| 六月丁香综合在线视频| 欧美一区二区性放荡片| 秋霞午夜av一区二区三区| 日韩电影在线免费| 97se亚洲国产综合自在线观| 秋霞电影网一区二区| 免费看黄色91| 91精品国产丝袜白色高跟鞋| 中文字幕亚洲在| 国产高清在线观看免费不卡| 粉嫩av亚洲一区二区图片| 91极品视觉盛宴| 国产一区91精品张津瑜| 亚洲国产cao| 成人激情免费电影网址| 精品一二三四在线| 国产激情视频一区二区三区欧美 | 884aa四虎影成人精品一区| 国产一区二区三区精品视频| 国产精品福利一区二区三区| 亚洲人xxxx| 亚洲mv大片欧洲mv大片精品| 亚洲欧美一区二区三区国产精品 | 欧美图区在线视频| 51午夜精品国产| 一区二区三区中文字幕在线观看| 久久99精品久久久久久动态图| 欧美一级片免费看| 91福利精品第一导航| 日韩影视精彩在线| 91丨九色丨蝌蚪富婆spa| 国产高清亚洲一区| 欧美日韩黄色影视| 精品国产91乱码一区二区三区| 亚洲成人手机在线| 亚洲精品在线三区| 日韩和欧美一区二区| 欧美国产日产图区| 久久精品国产99国产| 日本成人在线网站|