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

📄 dgs.h

📁 SEED的VPM642测试程序-板级支持库
💻 H
字号:
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) DSP/BIOS 4.90.270 12-18-03 (barracuda-o04)" */
/*
 *  ======== dgs.h ========
 *  Stacking Gather/Scatter Device Module Interface
 *
 */

#ifndef DGS_
#define DGS_


#include <dev.h>
#include <fxn.h>

#ifdef __cplusplus
extern "C" {
#endif

#define DGS_init	((Fxn)FXN_F_nop)

extern DEV_Fxns DGS_FXNS;

/*
 *  ======== DGS_Params ========
 */
typedef struct DGS_Params {	/* device parameters */
    Fxn		createFxn;
    Fxn		deleteFxn;
    Fxn		transFxn;
    Arg		arg;
    Int		num;
    Int		den;
} DGS_Params;

extern Int u32tou8();
extern Int u8tou32();

extern Int u16tou32();
extern Int u32tou16();

extern Int i16toi32();
extern Int i32toi16();

extern Int i16tof32();
extern Int f32toi16();

extern Int u8toi16();
extern Int i16tou8();

#ifdef __cplusplus
}
#endif /* extern "C" */

#endif /* DGS_ */

⌨️ 快捷键说明

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