• USB: sending an structure on InReport instead of BYTE typedef
    I want to know how to modify the next function to send an structure and no the typedef BYTE; USB_WriteEP(0x81,InReport, sizeof(InReport)); the structure is: typedef struct{ unsigned char...
  • USB: sending an structure on InReport instead of BYTE typedef
    I want to know how to modify the next function to send an structure and no the typedef BYTE; USB_WriteEP(0x81,InReport, sizeof(InReport)); the structure is: typedef struct{ unsigned char...
  • typedef struct error
    Hi I have code something like in hello.h #ifndef _HELLO_H #define _HELLO_H #define S16 signed short int #define S8 signed char typedef struct player { int x; int y; int score; }; extern...
  • typedef struct error
    Hi I have code something like in hello.h #ifndef _HELLO_H #define _HELLO_H #define S16 signed short int #define S8 signed char typedef struct player { int x; int y; int score; }; extern...
  • 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...