OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [sw/] [host/] [deppi.h] - Diff between revs 11 and 45

Show entire file | Details | Blame | View Log

Rev 11 Rev 45
Line 50... Line 50...
//
//
#define PKTLEN  32
#define PKTLEN  32
#define RCV_BUFLEN      512
#define RCV_BUFLEN      512
#define RCV_BUFMASK     (RCV_BUFLEN-1)
#define RCV_BUFMASK     (RCV_BUFLEN-1)
 
 
 
// #define      S6SN    "SN:210282768825"
 
#define S6SN    ""
 
 
#include "llcomms.h"
#include "llcomms.h"
 
 
class   DEPPI : public LLCOMMSI { // DEPP Interface
class   DEPPI : public LLCOMMSI { // DEPP Interface
private:
private:
        HIF     m_dev;
        HIF     m_dev;
Line 67... Line 70...
        virtual void    raw_read(int len, int timeout_ms);
        virtual void    raw_read(int len, int timeout_ms);
        virtual void    flush_read(void);
        virtual void    flush_read(void);
        void    depperr(void);
        void    depperr(void);
 
 
public:
public:
        DEPPI(char *szSel);
        DEPPI(const char *szSel);
        ~DEPPI(void);
        ~DEPPI(void);
 
 
        virtual void    close(void);
        virtual void    close(void);
        virtual int     read(char *buf, int len);
        virtual int     read(char *buf, int len);
        virtual int     read(char *buf, int len, int timeout_ms);
        virtual int     read(char *buf, int len, int timeout_ms);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.