Uart_Printf("[Uart channel 0 tx FIFO Interrupt Test]
"); Uart_TxEmpty(0); //wait until tx shifter is empty.
uart0TxStr="123456789abcdef";//UART0 Tx FIFO interrupt test is good!!!!
"; rUFCON0=(2<<6)|(1<<4)|(6)|1; //FIFO trigger:tx/rx:8byte,tx/rx_fifo reset(will be cleared),FIFO enable. rUCON0 = 0x244; //tx:levl,rx:edge,error int,normal*2,interrupt(Start) rINTMSK=~(BIT_GLOBAL|BIT_UTXD0);
Delay(500);
请问这段fifo中断测试程序在 rINTMSK=~(BIT_GLOBAL|BIT_UTXD0);语句后市因为什么中断的阿?是发送超时么? |