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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/24/05 14:12
Read: times


 
#105886 - LPC900 80c51 header files
Responding to: ???'s previous message
Hi Shruthi,

The header files for C and asm are dependant on what compiler or assembler you are using.

You can usually take an exsisting header file say such as the P89LPC932 and modify it to suit the additional SFRs of the P89LPC952 (and remove SFRs that are not in the P89LPC952).

The way in which compiler or assembler header files are written is determined by the software vendor (eg Keil).

Equates are often used in assembler header files.

eg to assign port 0 to the SFR address

P0 equ 80h ; .... etc.

The standard SFRs of the LPC900 series will be defined in the P89LPC932 or LPC935 header files, you just need to add the addtional assignments for the extra SFRs in the LPC952.

OR the assembler or compiler vendor (like Keil) may have already written the header file for you.

JG


List of 5 messages in thread
TopicAuthorDate
89lpc952            01/01/70 00:00      
   Keil            01/01/70 00:00      
   LPC900 80c51 header files            01/01/70 00:00      
      SFRs            01/01/70 00:00      
      SFRs            01/01/70 00:00      

Back to Subject List