S12X_Interrupt_catcher (catch all unexpected interrupts)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12X_Interrupt_catcher (catch all unexpected interrupts)

S12X_Interrupt_catcher (catch all unexpected interrupts)

Interrupt catcher you can use for debugging or directly in your software.

Few notes:

1. You should replace lines for expected interrupt by your interrupts routines as in example of SCI0 interrupt routine.

2. All interrupt vectors are only 16bit addresses, therefore all your interrupt routines must be placed in non banked memory (for example by #pragma commands)

3. Interrupt number 0 presents POR reset vector, 1 is CM reset, 2 is COP reset, … , 119 is Spurious Interrupt. Interrupt number = (0xFE-Vector Address)/2. See Table Interrupt Vector Locations at RM. For Example: Interrupt number of SCI0 = (0xFE-D6)/2 = 0x14 = 20.

ラベル(1)
添付
評価なし
バージョン履歴
最終更新日:
‎11-13-2012 05:45 AM
更新者: