sir, i would like to know what are the functions of different "Interrupt Vectors"? say for example: void External0 () interrupt 0; void External1 () interrupt 2; void ADCR () interrupt 6;
- as u can see , diffferent interrupts has been called for different functions . so my question is what are the applications of these various interrupts and their functionality? .....please reply with reference to ADuC845(8051 core), using c51 compiler. .....if possible please post the detail functions of all the 0-31 interrupts of c51 compiler.....
sir, thank you for your reply..... still there is one more doubt in my mind... i.e. the instruction interrupt 2 does refer to the particular interrupt vector and the no.2 refers to the interrupt priority , where the function I have written with respect to this interrupt and the register values we have loaded w.r.t. our needs is stored at a register bank.... and when we access access this interrupt we actually load the register values already stored in corresponding register bank....? plz explain....
"the instruction interrupt 2 does refer to the particular interrupt vector and the no.2 refers to the interrupt priority"
NO!!!!!!!!!!!
Where on the manual page did you see anything about priority?!
http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm
The interrupt number in this context relates purely to which vector is being used.
For register bank usage, see the using keyword...
I think you probably need to go back to the basics of the 8051 architecture:
Links to the so-called "bible" for the 8051 here: www.8052.com/.../120112
Tutorials here: http://www.8052.com/tutorial Book list here: http://www.keil.com/books/8051books.asp