- //#include <reg51.h>//在前面调用
- //#include <absacc.h>
- //#define rtl8019as XBYTE[0xFE00]
- sbit sck=P3^5;
- sbit xcs=P1^7;
- sbit si=P3^3;
- sbit so=P3^4;
- sbit bcs=P1^5;
- sbit bas=P1^6;
- //port
- sbit isin=P1^0;
- sbit linkok=P1^1;
- sbit txspeed=P1^2;
- sbit pow0=P1^3;
- sbit pow1=P1^4;