We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am writing a ADC0 ISR for 8051f020. But i dont know the interrupt no. for ADC0 Interrupt(AD0INT). Hence i need a interrupt vector table where interrupt nos. may be listed. I am unable to find it on net and have read datasheet but could not find it. I cant poll the interrupt.
Kindly help.
As already noted, they are very bad names!!
Your definitions are interrupt Numbers - they are not vectors!!
From where can i get the list of this vectors???
You don't actually need the list of vectors; you just need to rename your constants to reflect what they actually are - interrupt numbers!!
However, for completeness, see the link which I posted on 5-Oct-2012 at 18:56 GMT...
on page: http://www.keil.com/dd/chip/3312.htm you will find all about C8051F020 and long datasheet is there! http://www.keil.com/dd/docs/datashts/silabs/c8051f02x.pdf
on page 117 are all interrupts with vectors (starting absolute addres of interrupt) and interupt numbers(=Priority order)!