This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupts for AT89C51CC03

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"??

Parents
  • 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.

Reply
  • 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.

Children
No data