Re: 請問: 關於使用高 ,低優先混合中斷 發生編譯錯誤.....
|
||||
---|---|---|---|---|
新會員
|
謝謝 您的說明
我也是猜測 是這樣的問題 但是就是不太確定 感謝您的說明 讓我豁然開朗^^
發表於: 2007/12/19 15:01
|
|||
|
Re: 請問: 關於使用高 ,低優先混合中斷 發生編譯錯誤.....
|
||||
---|---|---|---|---|
版主
|
在 ISR 的向量區內只能擺 goto 指令,你在 isr_high_code( ) 裡寫了不少指令有可能會佔到 0x0018 的位置導致 Low Priority Interrupt 的位址衝突。請看一下 W401 C18 workshop 的教材第五章的說明。
發表於: 2007/12/19 11:52
|
|||
|