• Typedef __xxx struct? Defines?
    Hi guys, I have a piece of code that I copied from another source but I don't understand what it means and the Keil compiler doesn't either. The code looks like that: #if _MSC_VER >= 1000...
  • Where is datatype 'UsbSocket' defined?
    We use Keil development tools. We have ARM7 LPC2400 based controller that talks to host over USB. I started looking at the code in the controller that is used to carry out USB Communications. In...
  • Define struct on external EEPROM
    Hello all, I'm facing a little understanding problem. At my design I use the AT89C51RD2 micro and also two external memory devices – SRAM and parallel EEPROM. At my code I have several structs that...
  • What's wrong with the define of STRUCT?
    Hello all, My project with 3 files as following ,the MAIN is in sys.c,all 3 files are compiled well each other. File a: including sys.c and common.h File b: including rtk.c and rtk.h File c: including...
  • struct & union definations
    I am using struct in my code. with LPC1317. Now if I write: typedef struct { uint32_t f; union { uint32_t ADR[3]; struct { uint32_t ADR1; uint32_t ADR2; uint32_t ADR3; }; // warning...