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

📄 disiisl.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的操作系统pSOS。包括全部源码
💻 H
字号:
/************************************************************************//*                                                                      *//*   MODULE:  disiisl.h                                                 *//*   PRODUCT: pNA+, OpEN TCP/IP PPP driver                              *//*   PURPOSE: DISI Interface Specific Layer module                      *//*   DATE:    28 February, 1996                                         *//*                                                                      *//*----------------------------------------------------------------------*//*                                                                      *//*              Copyright 1996, Integrated Systems, Inc.                *//*                      ALL RIGHTS RESERVED                             *//*                                                                      *//*   Permission is hereby granted to licensees of Integrated Systems,   *//*   Inc. products to use or abstract this computer program for the     *//*   sole purpose of implementing a product based on Integrated         *//*   Systems, Inc. products.   No other rights to reproduce, use,       *//*   or disseminate this computer program, whether in part or in        *//*   whole, are granted.                                                *//*                                                                      *//*   Integrated Systems, Inc. makes no representation or warranties     *//*   with respect to the performance of this computer program, and      *//*   specifically disclaims any responsibility for any damages,         *//*   special or consequential, connected with the use of this program.  *//*                                                                      *//************************************************************************/#ifndef __DISIISL_H#define __DISIISL_H#define MAXUNIT         4#define DISIMAXSIZE     (1500 * 2)#define DISIMAXBUFFERS  10/* PPP packet assembler states */#define WSTARTFLAG 1    /* Waiting for a start flag */#define STARTFLAG  2    /* Waiting for the ppp packet */#define PPPPACKET  3    /* Assembling a PPP packet */#define PPP_FLAG   0x7e#define USED       0xff#define FREE       0x0#define EMOPEN     0x3001struct inbuf {    char *rptr;    char *wptr;    int  size;    int  state;};struct  DISIchan_stat {    unsigned int state;    unsigned int tx_packets;    unsigned int tx_dropped;    unsigned int tx_errors;    unsigned int rx_packets;    unsigned int rx_errors;    struct inbuf buf;    Uid uid;    Lid lid;    void (*callback)(Lid, unsigned long, void *);    ChannelCfg  ccp;};typedef struct {    unsigned long channel;    ChannelCfg  Cfg;} DISICfg;struct Squeue {    struct Squeue *next;    struct Squeue *prev;};typedef struct Squeue Squeue_t ;extern unsigned long  DisiISLInit(void);extern int SysBaud;#endif

⌨️ 快捷键说明

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