dgs.h

来自「SEED的VPM642测试程序-板级支持库」· C头文件 代码 · 共 62 行

H
62
字号
/*
 *  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 + =
减小字号Ctrl + -
显示快捷键?