Re: SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?
|
||||
---|---|---|---|---|
版主
|
看過這份dsPIC30F Peripheral 的教育訓練的第一單元 Interrupt 後你就會了解了。
http://www.microchip.com.tw/modules/w ... glefile.php?cid=4&lid=229
發表於: 2009/12/21 14:31
|
|||
|
SR:CPU 狀態寄存器與IPC0:中斷优先級控制寄存器差別在那裡?
|
||||
---|---|---|---|---|
資深會員
|
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
|
|||
|