Enable interrupt MCF52

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

Enable interrupt MCF52

2,000 次查看
teto84
Contributor I
Good morning, I have a eva-board MCF5272C3 that mount a uP MCF5272. I use this with a Profibus board (VPC3+ made by profichip) that it need to receive the enable of its interrupt. The engineer of profichip says me to tell you to have these answers. In fact I need of:
1. How to define the interrupt routine in C?
es in the example of Amtel's board, using C51 compiler there is
void ISR (void) interrupt 0


2. How to enable the external interrupt in order to activate the data_exchange, request to send etc etc (to VPC3+)?
 
Please, I need so fast of your answers
thank you
标签 (1)
0 项奖励
回复
2 回复数

847 次查看
teto84
Contributor I
Good morning, I have a eva-board MCF5272C3 that mount a uP MCF5272. I use this with a Profibus board (VPC3+ made by profichip) that it need to receive the enable of its interrupt. The engineer of profichip says me to tell you to have these answers. In fact I need of:
1. How to define the interrupt routine in C?
es in the example of Amtel's board, using C51 compiler there is

void ISR (void) interrupt 0


2. How to enable the external interrupt in order to activate the data_exchange, request to send etc etc (to VPC3+)?
 
Please, I need so fast of your answers
thank you
0 项奖励
回复

847 次查看
mccPaul
Contributor I
Hi
 
If you search my posts you will see a lot that discuss Interrupts. You can also search for ISR, Interrupt, Handler and these will give you quite a lot of results.
 
If you want to know how to declare an interrupt handler in C, we need to know the compiler. It is different in CodeWarrior and GCC.
 
Paul.
0 项奖励
回复