Re: 請教各位版主 :有關p18f452 interrupt問題
|
||||
---|---|---|---|---|
初級會員
|
謝謝你,已經了解了! ^!^
發表於: 2005/1/21 18:18
|
|||
|
Re: 請教各位版主 :有關p18f452 interrupt問題
|
||||
---|---|---|---|---|
版主
|
RBIF執行完候跳出中斷再進入中斷執行TMR0IF的動作。
當然你在中斷副程式需要去polling旗號。
發表於: 2005/1/21 17:15
|
|||
|
Re: 請教各位版主 :有關p18f452 interrupt問題
|
||||
---|---|---|---|---|
初級會員
|
謝謝你的回覆!
但是對於Q1.還是有些不清楚的地方: ==>當執行 RBIF的"同時"TMR0IF又=1, 程式會不會跳到TMR0去執行,當執行完候才 又跳回RBIF繼續未完的工作呢? 還是說要等到RBIF執行完候才執行TMR0IF呢? 麻煩你了!
發表於: 2005/1/21 16:35
|
|||
|
請教各位版主 :有關p18f452 interrupt問題
|
||||
---|---|---|---|---|
初級會員
|
Q1. 一樣是high priorilty如:TMR0IF and RBIF
有無可能,當執行 RBIF的同時TMR0IF又=1, 程式會不會跳到TMR0去執行,當執行完候才 又跳回RBIF繼續未完的工作呢? Q2. 又Low priority執行的同時high priorilty interrupt 發生, 程式會不會跳到high priorilty vector去執行, 當執行完候才又跳回Low priority 繼續未完的工作呢? THANKS!
發表於: 2005/1/21 13:54
|
|||
|