C18 的高低優先權中斷 ?
|
||||
---|---|---|---|---|
新會員
|
請問各位大大
想問在高優先權的中斷時,C本身會將環境參數儲存,等中斷結束,C會透過shadow還原; 但在低優先權的中斷時,C不會存環境參數,等中斷結束也不會還原參數; 所以請問要如何存環境參數,且要儲存哪些參數,謝謝? 因為我寫高優先權的中斷,對程式OK; 但加入低優先權的中斷時,程式就怪怪的,所以請各位大大幫忙,謝謝!
發表於: 2008/1/8 9:01
|
|||
|