• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   1 Anonymous Users






Re: 請教各位版主 :有關p18f452 interrupt問題
#5
初級會員
初級會員


查看用戶資訊
謝謝你,已經了解了! ^!^

發表於: 2005/1/21 18:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請教各位版主 :有關p18f452 interrupt問題
#4
版主
版主


查看用戶資訊
RBIF執行完候跳出中斷再進入中斷執行TMR0IF的動作。
當然你在中斷副程式需要去polling旗號。

發表於: 2005/1/21 17:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請教各位版主 :有關p18f452 interrupt問題
#3
初級會員
初級會員


查看用戶資訊
謝謝你的回覆!
但是對於Q1.還是有些不清楚的地方:
==>當執行 RBIF的"同時"TMR0IF又=1,
程式會不會跳到TMR0去執行,當執行完候才
又跳回RBIF繼續未完的工作呢?
還是說要等到RBIF執行完候才執行TMR0IF呢?
麻煩你了!

發表於: 2005/1/21 16:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請教各位版主 :有關p18f452 interrupt問題
#2
版主
版主


查看用戶資訊
Answer the Q1:
程式會先執行 RBIF 的中斷跳出high priority後馬上再跳進去執行TMR0IF, 兩著之間不會打架,誰先中斷就先執行誰的。

Answer Q2:
Low Priority中斷裡發生了high priority自動會跳去high priority中斷去執行完畢後再跳回去low priority.

發表於: 2005/1/21 16:22
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請教各位版主 :有關p18f452 interrupt問題
#1
初級會員
初級會員


查看用戶資訊
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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------