Hello,
I want to programm the interrups for the at89c51cc03 in C. But I can't find how i have to do this.
i have the configuration from the datasheet. but how look the "interrupt funktion header"??
but for what stands interrupt 1 using 2 behind the (void)
That should all be explained in the text surrounding the code snippet.
The interrupt keyword tells the compiler that the following function is, in fact, an interrupt service routine that services the interrupt with the given number.
The using keyword tells the compiler that the function shall use the specified register bank.
Detailed explanations can be found in the compiler manual, as they would be way too long to post here.