Interrupt Function Vector Table Allocation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interrupt Function Vector Table Allocation

1,347 次查看
_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,026 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复