• Bitfield inside Union
    Hi, sorry i know, this question is an evergreen. I have 320 bitfield variables, which i want to access as single Bit's on one hand, and as a field of 40 byte via RS-232 on the other hand. Yes i know...
  • Anonymous union inside a struct?
    The C complier doesn't like this piece of source code: ------------------------- struct MyUart { union { unsigned char rx; // read unsigned char tx; // write }; unsigned char control; // r...
  • 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