ISR syntax: porting from Keil to EMide

Need help? Post your issues and bugs here. We will try to fix them.
FAQs

1 post | Page 1 of 1


BruceV

Posts: 1
Joined: 03 Aug 2016 06:55

ISR syntax: porting from Keil to EMide
Postby BruceV » 09 Dec 2016 08:35

Hi, I'm just getting started with EMide, having worked with Keil for some time. Please, what's the correct syntax in EMide, for the declaration line in the following ISR.

__irq void TIMER1_IRQHandler (void) //override weak defined IRQHandler by startup_LPC17xx.s
{
T1IR |= 0; //clear interrupt flag
waitflag=0; //clear waitflag
}

The compiler flags errors.

I think I've done the other housekeeping correctly, such as setting up the default ISR for Timer1 in startup.s.

Top


1 post | Page 1 of 1


Jump to:


Who is online

Users browsing this forum: No registered users and 1 guest