請教有用過16F690的先進,我遇到一個問題。
DATASHEET中寫著INTCON是不分RAM BANK,
我使用RABIE,當中斷發生處理完後,清除RABIF,
在BANK0(STATUS=10H)及BANK2(STATUS=50H)正常離開中斷,但BANK1(STATUS=30H)及BANK3(STATUS=70H),確無法清除RABIF,亦中斷會重複進入。
先前遇過TIMER0好像也是這樣,無法清除T0IF,而重複進入
當然,也可以強制設定在BANK0清除xxxIF,但我想知道是我的失誤造成,還是MCU OR DATASHEET的問題。
目前是用16F690 HEADER測試,中斷發生後,手動切換STATUS,才知道這個現象。請有用過的先進幫忙測一下,THANKS.