Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Good C code

2006-05-05 by jk jlkj

Hi Friends,
   
  Did anyone came accross such a code.
   
  INT32U is unsigned int.
   
  #define  BSP_UNDEF_INSTRUCTION_VECTOR_ADDR   (*(INT32U *)0x00000004L)
   
  I really think this is a neat code. This is in the code given by ucos-ii. 
  Isnt this similar to declaring a pointer variable.
   
  I am unable to understand the meaning of the type cast (*(INT32U *))
   
  Can some one please tell me what does this type cast imply.
   
  Regards,
  Jerome
   
   

				
---------------------------------
 Yahoo! India Answers: Share what you know. Learn something new. Click here

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.