Greetings,
I'm somewhat new to programming in C.
I'm using Keil uVision and would like some information on setting up interrupt routines.
I have setup my registers to interrupt on reception of serial data.
In C, how do I "name" or point to the interrup service routine?
I have surfed around and found possibly 2 answers:
void name interrupt 4 and void name interrupt 4 using #
Can you recommend a good web site or web document that would explain this - I would rather not cut and paste for my solution but actually understand.
What is the "using" command doing - I can't find this information.
Thanks so much -Sparky
For more information on using, see: http://www.keil.com/support/man/docs/c51/c51_le_regbankspec.htm
For more information on interrupt functions, see: http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm
Jon
Also, apparently, new to the 8051 architecture?
The using keyword extension relates to the 8051 concept of Register Banks.
For details of the 8051 architecture, see the so-called "bible" for the 8051:
www.8052.com/.../120112
See also: http://www.8052.com/tutorial
And: http://www.keil.com/books/