DSPRelated.com
Forums

How to write an ISR for TMS320C4x

Started by saravana muthu November 26, 2008
Hi
I am using TMS320DM6437 Davinci proccessor for my project application and obiviously using Code Composer Studio for its firmware development. I want to invoke serial (UART) Interrupt Service Routine. I have reffered some pdf and not getting the enough stuff still !!!
In one of the document they have naratted a example like this :

++++++++++++++++++++++++++++++++++++++++++++++++++++++
IRQ_Config myConfig = {
myIsr,
0x00000000,
IRQ_CCMASK_DEFAULT,
IRQ_IEMASK_DEFAULT
};
...
IRQ_config(eventId,&myConfig);
...
void myIsr(Uint32 funcArg, Uint32 eventId) {
...
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Can any one give me some more example so that I can understand what the exact configuration needed.
---------- Original Message -----------
From: saravana muthu
To: c...
Sent: Wed, 26 Nov 2008 08:06:21 +0530 (IST)
Subject: [c6x] How to write an ISR for TMS320C4x

> Hi
> I am using TMS320DM6437 Davinci proccessor for my project application
> and obiviously using Code Composer Studio for its firmware
> development. I want to invoke serial (UART) Interrupt Service Routine.
> I have reffered some pdf and not getting the enough stuff still !!! In
> one of the document they have naratted a example like this :
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> IRQ_Config myConfig = {
> myIsr,
> 0x00000000,
> IRQ_CCMASK_DEFAULT,
> IRQ_IEMASK_DEFAULT
> };
> ...
> IRQ_config(eventId,&myConfig);
> ...
> void myIsr(Uint32 funcArg, Uint32 eventId) {
> ...
> }
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Can any one give me some more example so that I can understand what
> the exact configuration needed.
------- End of Original Message -------