• Volatile struct members
    Hi, I would like to prevent structure members optimization. I used volatile keyword: typedef volatile struct { volatile ... volatile uint32_t discard; volatile ... } regs_t; I declared...
  • Union
    I need to set up the following union type definition in a global header (.h) file typedef union { struct { unsigned char App_Data_Type; //Power on tests unsigned char DPort_RAM_Fail_Flag...
  • Union
    hi i am programming AT89s52 in C.I am facing a problem in the program.i have declared array in union as shown below union { unsigned int uiData[100]; }s; The problem is i have to access this...
  • UNION
    Example for use of union in C51
  • Seems to be a bug...
    Hello all, while checking the code given here. www.maxim-ic.com/.../3524 I found that Keil compiler is not generating the correct code required for the following commands in C spiTmp = spiData...