Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/03/07 07:16
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#147759 - strange code in AT89C5131 example code.
Hello.

I am working with AT89C5131
I have searched example code to find how to handle external interrupt(INT0)
I have found function like below

--
void keyboard_interrupt() interrupt 7 using 1
{
......
}
--

I have never seen code like above before but this seems to be code I was looking for.
There was no part of code with designate keyboard_interrupt() as interrupt routine
"using 1" seems to mean interrupt number and I have no idea what "interrupt 7" means.
Please help me understand this function definition
This code is compiled well

Thanks.


List of 4 messages in thread
TopicAuthorDate
strange code in AT89C5131 example code.            01/01/70 00:00      
   Compiler-specific            01/01/70 00:00      
      SIGNAL            01/01/70 00:00      
         Incorrect            01/01/70 00:00      

Back to Subject List