Enable interrupt MCF52

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

Enable interrupt MCF52

2,004件の閲覧回数
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 返答(返信)

851件の閲覧回数
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 件の賞賛
返信

851件の閲覧回数
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 件の賞賛
返信