c51單片機中斷函數 作者: 時間:2016-11-27 來源:網絡 加入技術交流群 掃碼加入和技術大咖面對面交流海量資料庫查詢 收藏 以串口中斷為例:如:voidserial()interrupt 4{}和voidserial_uart()interrupt 4{}兩個函數的功能都是定義串口中斷函數。函數名字不一樣不重要,重要的是函數名字后面的interrupt 4(中斷向量表地址)要正確。
評論