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

📄 lio.h

📁 CHP 5 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen
💻 H
字号:
/*
 *  Copyright 2002 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.
 *  
 */
/* "@(#) ReferenceFrameworks 1.10.00 04-30-02 (swat-b21)" */
/*
 *  ======== lio.h ========
 *  LIO: A "Low Level I/O" API for I/O device drivers.
 */

#ifndef LIO_
#define LIO_

#ifdef __cplusplus
extern "C" {
#endif  

typedef enum LIO_Mode {
    LIO_INPUT,
    LIO_OUTPUT
} LIO_Mode;

typedef Void    (*LIO_Tcallback)(Arg arg, Uns nmaus);

typedef Bool    (*LIO_Tcancel)(Ptr chanp);
typedef Bool    (*LIO_Tclose)(Ptr chanp);
typedef Bool    (*LIO_Tctrl)(Ptr chanp, Uns cmd, Ptr args);
typedef Ptr     (*LIO_Topen)(String name, LIO_Mode mode, Ptr args,
                        LIO_Tcallback cbFxn, Arg cbArg);
typedef Int     (*LIO_Tsubmit)(Ptr chanp, Ptr buf, Uns nmaus);

/*
 *  Function table structure used for actual linkage between client
 *  and controller.
 */
typedef struct LIO_Fxns
{
    LIO_Tcancel     cancel;
    LIO_Tclose      close;
    LIO_Tctrl       ctrl;
    LIO_Topen       open;
    LIO_Tsubmit     submit;
} LIO_Fxns;

#ifdef __cplusplus
}
#endif 

#endif

⌨️ 快捷键说明

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