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


Browsing this Thread:   2 Anonymous Users






Re: SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?
#3
版主
版主


查看用戶資訊
參照:

84327633 寫道:

SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?


IPL<3:0> 控制著 CPU 的中斷等級。IPCx 則是控制所屬的周邊中斷等級。唯有周邊中斷等級大於 CPU 中斷等級時才允許中斷發生。

發表於: 2009/12/21 14:35

Edited by Ryang on 2009年12月21日 15:51:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?
#2
版主
版主


查看用戶資訊
看過這份dsPIC30F Peripheral 的教育訓練的第一單元 Interrupt 後你就會了解了。

http://www.microchip.com.tw/modules/w ... glefile.php?cid=4&lid=229

發表於: 2009/12/21 14:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?
#1
資深會員
資深會員


查看用戶資訊
SR:CPU 狀態寄存器

IPL<2:0>:CPU 中斷优先級狀態位
111 = CPU 中斷优先級為7 (15)。 禁止用戶中斷。
110 = CPU 中斷优先級為6 (14)
101 = CPU 中斷优先級為5 (13)
100 = CPU 中斷优先級為4 (12)
011 = CPU 中斷优先級為3 (11)
010 = CPU 中斷优先級為2 (10)
001 = CPU 中斷优先級為1 (9)
000 = CPU 中斷优先級為0 (8)

SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?

IPC0裡面可以設定Timer1 中斷优先權位、輸出比較通道1 中斷优先權位、輸入捕捉通道1 中斷优先權位

發表於: 2009/12/18 10:26

Edited by 84327633 on 2009年12月18日 13:59:31
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... ]

教育訓練中心

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