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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/21/07 17:07
Modified:
  03/21/07 17:15

Read: times


 
#135531 - What compiler?
Responding to: ???'s previous message
Spear Dive said:
I try to write an c code for 89c430 microcontroller, but i dont achieve to use the interrupt

The standard 'C' language knows absolutely nothing about interrupts - therefore everything to do with handling interrupts in 'C' is compiler-specific

Therefore it is impossible to answer your question without knowing what compiler and version you are using.

Do you have any example

I'm sure your compiler Manual will tell you what to do, and give you examples.
Probably also the Maxim/Dallas website.

or knowledge?

Do you actually understand how interrupts work on the 8051 architecture?
Have you read the Tutorials ans the so-called "bible" for the 8051?

http://www.8052.com/tutorial.phtml

Chapter 1 - 80C51 Family Architecture:
http://www.nxp.com/acrobat_d...ARCH_1.pdf

Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set:
http://www.nxp.com/acrobat_d...UIDE_1.pdf

Chapter 3 - 80C51 Family Hardware Description:
http://www.nxp.com/acrobat_d...WARE_1.pdf

Have you checked the 89c430 Datasheet for details specific to that chip?




List of 4 messages in thread
TopicAuthorDate
help using interrupt on 89c430            01/01/70 00:00      
   What compiler?            01/01/70 00:00      
      Cross-post            01/01/70 00:00      
         my code            01/01/70 00:00      

Back to Subject List