Re: 如何再PIC18F4550 的Timer0中斷函式中 , 再觸發I2C的中斷
|
||||
---|---|---|---|---|
版主
|
還有另一種可能就是 I2C 程式有錯。照你的設定執行完 Timer0 的中斷後才會執行I2C 的中斷。
發表於: 2007/11/19 10:54
|
|||
|
Re: 如何再PIC18F4550 的Timer0中斷函式中 , 再觸發I2C的中斷
|
||||
---|---|---|---|---|
初級會員
|
在執行Time0 high priority 的中斷程序時,
I2C low priority 的中斷程序仍可產生,但會等到 high priority 的中斷結束後,才會進入low priority。 所以如果I2C的中斷很重要的話,你必需考慮你的優先順序的編排。
發表於: 2007/11/19 9:12
|
|||
|
如何再PIC18F4550 的Timer0中斷函式中 , 再觸發I2C的中斷
|
||||
---|---|---|---|---|
初級會員
|
我使用了 Time0 high priority
I2C low priority 但是好像不會動ㄝ 可以在中斷函式中再觸發另一個中斷函式嗎????????
發表於: 2007/11/18 14:05
|
|||
|