• Support on LPC17xx.h header file
    Hi all, Can somebody explain me the below extract of code from the LPC17xx.h header file. I am unable to understand clearly what it does exactly during compilation. /*------------- General Purpose...
  • many version of lpc17xx.h ?
    Dear all, During troubleshooting of my previous problem, I notice that in the examples code there are several version of lpc17xx.h Is there a 1 complete h file that covers all need? if I am not...
  • typedef & optimisation
    In the book "TCP/IP Lean" [1], the author states: "I have used #define in preference to typedef because compilers use better optimisation strategies for their native data types." Is this true of...
  • Circular Typedefs
    Structs can easily have circular references: struct ATag { struct BTag* pB; }; struct BTag { struct ATag* pA; }; Can the same thing be done with typedefs? typedef struct { BType* pB; } AType;...
  • Length of a typedef enum
    I am trying to pass the length of a typedefinition to an integer by using the sizeof function. At the moment I only get the value 4 passed back no matter the number of items are in the typedef. This...