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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/26/07 19:40
Read: times


 
Msg Score: +1
 +1 Informative
#146268 - SDCC interrupt pitfall
Responding to: ???'s previous message
SDCC has one pitfall when using interrupts in a multiple source files project. You must inform the compiler in the file that contains your main() function which interrupt service routines (ISR) there will be. You do this by either implementing the ISR's in the same file or by declaring their prototypes in it. If you fail to do this SDCC will not generate the proper entry in the interrupt vector table.

HTH
Maarten

List of 5 messages in thread
TopicAuthorDate
need help P89V51RD2 Brown-out interrupt execution            01/01/70 00:00      
   how do you know ...            01/01/70 00:00      
   don't use the internal brownout of this derivative            01/01/70 00:00      
   SDCC interrupt pitfall            01/01/70 00:00      
      SDCC interrupt            01/01/70 00:00      

Back to Subject List