Forum : 8051
Original Post
Post Information | Post |
---|---|
July 18, 2007 - 5:14pm
|
Hello to everybody! I'm posting here to ask a question about interruptions. My question is: |
Forum : 8051
Post Information | Post |
---|---|
July 18, 2007 - 5:14pm
|
Hello to everybody! I'm posting here to ask a question about interruptions. My question is: |
Hello,
everything is written in RC51 documentation. To make an interrupt routine, declare a void(void) function and use the specific keyword 'interrupt'. Example :
I don't know the interrupt number of Timer 0 on your device, so I've put 2 as an example. This number will be used to calculate the interrupt vector address where to locate the interrupt routine.
regards
Lionel
Ok, thanks lionel ^^