-
串口通讯前几个字节丢失的问题
串口通讯前几个字节丢失的问题 /*interruptsevice*/voidinterruptfarasyncint(){InBuffer[buffin++]=inportb(BaseAddCOM4);if(buffin>=INBUFFNUM)buffin=0;outportb(0x20,0x20);} /*Readcharfrombuffer*/unsigned...
320
热度
上一页1下一页
串口通讯前几个字节丢失的问题 /*interruptsevice*/voidinterruptfarasyncint(){InBuffer[buffin++]=inportb(BaseAddCOM4);if(buffin>=INBUFFNUM)buffin=0;outportb(0x20,0x20);} /*Readcharfrombuffer*/unsigned...