Interrupt Function Vector Table Allocation

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

Interrupt Function Vector Table Allocation

1,333件の閲覧回数
_hiper_
Contributor I

Hello everyone!

 

I am using CW V4.6 for HCS12(X) and I wanted to ask some questions about the syntax for the Interrupt vector table allocation in the interrupt function definition/declaration.

 

1º: Does the Interrupt Vector Number have to be in the definition AND in the declaration? Or only in the declaration?

2º What is the syntax with that number? In the documentation it says that is only a number, but does this structure work? e.g


#define INTVEC_START 0

interrupt (INTVEC_START + 0x00) void random_interrupt(void);

 

Thanks in advance.

 

Best regards,

ラベル(1)
0 件の賞賛
返信
1 返信

1,012件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

we have tn101 that includes all the information you need. see attached

0 件の賞賛
返信