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

📄 8019head.h

📁 DSP2407控制8019芯片实现的网页服务器
💻 H
字号:
///////////////////////Page 0   RD only ////////////////////
#define CR  port0300
ioport unsigned CR; 

#define CLDA0  port0301
ioport unsigned CLDA0;

#define CLDA1 port0302
ioport unsigned CLDA1; 

#define BNRY port0303
ioport unsigned BNRY;

#define TSR port0304
ioport unsigned TSR;

#define NCR port0305
ioport unsigned NCR;

#define FIFO port0306
ioport unsigned FIFO;

#define ISR port0307
ioport unsigned ISR ;

#define CRDA0 port0308
ioport unsigned CRDA0;

#define CRDA1 port0309
ioport unsigned CRDA1 ;

#define RTL8019ID0 port030A
ioport unsigned RTL8019ID0 ;

#define RTL8019ID1 port030B
ioport unsigned RTL8019ID1 ;

#define RSR port030C
ioport unsigned RSR  ;

#define CNTR0 port030D
ioport unsigned CNTR0 ;

#define CNTR1 port030E
ioport unsigned CNTR1  ;

#define CNTR2 port030F
ioport unsigned CNTR2  ;

////////////////RW only /////////////
#define CR  port0300
ioport unsigned CR   ;

#define PSTART port0301
ioport unsigned PSTART;

#define PSTOP port0302
ioport unsigned PSTOP  ;

#define BNRY port0303
ioport unsigned BNRY  ;

#define TPSR port0304
ioport unsigned TPSR  ;

#define TBCR0 port0305
ioport unsigned TBCR0  ;

#define TBCR1 port0306
ioport unsigned TBCR1  ;

#define ISR  port0307
ioport unsigned ISR   ;

#define RSAR0  port0308
ioport unsigned RSAR0  ;

#define RSAR1  port0309
ioport unsigned RSAR1   ;

#define RBCR0  port030A
ioport unsigned RBCR0   ;

#define RBCR1  port030B
ioport unsigned RBCR1   ;

#define RCR  port030C
ioport unsigned RCR   ;

#define TCR  port030D
ioport unsigned TCR   ;

#define DCR  port030E
ioport unsigned DCR  ;

#define RTL8019IMR  port030F
ioport unsigned RTL8019IMR  ;


/////////////////////////////Page 1  Read/Write ///////////////
#define CR port0300
ioport unsigned CR  ;

#define PAR0 port0301
ioport unsigned PAR0 ; 

#define PAR1 port0302
ioport unsigned PAR1  ;

#define PAR2 port0303
ioport unsigned PAR2  ;

#define PAR3 port0304
ioport unsigned PAR3  ;

#define PAR4 port0305
ioport unsigned PAR4  ;

#define PAR5 port0306
ioport unsigned PAR5  ;

#define CURR port0307
ioport unsigned CURR  ;

#define MAR0 port0308
ioport unsigned MAR0  ;

#define MAR1 port0309
ioport unsigned MAR1  ;

#define MAR2 port030A
ioport unsigned MAR2  ;

#define MAR3 port030B
ioport unsigned MAR3  ;

#define MAR4 port030C
ioport unsigned MAR4  ;

#define MAR5 port030D
ioport unsigned MAR5  ;

#define MAR6 port030E
ioport unsigned MAR6  ;

#define MAR7 port030F
ioport unsigned MAR7  ;

///////////////////////////// Page 2 Read //////////////
#define CR port0300
ioport unsigned CR  ;

#define PSTART port0301
ioport unsigned PSTART; 

#define PSTOP port0302 
ioport unsigned PSTOP  ;

#define TPSR port0304
ioport unsigned TPSR  ;


#define TBCR0 port0305
ioport unsigned TBCR0  ;

#define TBCR1 port0306
ioport unsigned TBCR1  ;

#define RSAR0 port0308
ioport unsigned RSAR0  ;

#define RSAR1 port0309
ioport unsigned RSAR1  ;

#define RBCR0 port030A
ioport unsigned RBCR0  ;

#define RBCR1 port030B
ioport unsigned RBCR1  ;

#define RCR port030C
ioport unsigned RCR  ;

#define TCR port030D
ioport unsigned TCR  ;

#define DCR port030E
ioport unsigned DCR  ;

#define RTL8019IMR port030F
ioport unsigned RTL8019IMR  ;

#define CURR port0307
ioport unsigned CURR  ;

//////////////////////////three page //////////////
#define ResetPort  port0318
ioport unsigned ResetPort;

#define DMAPort port0310
ioport unsigned DMAPort;

⌨️ 快捷键说明

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