• 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
    Example for use of union in C51
  • unions ?
    I want to make a function that accepts 3 calling parameters but one of which is either be a string or an integer. So in an attempt to realise it I started to play with the following. But I get a...
  • array of union vs union of array
    Hello I am looking for help in understanding the difference between following 2 declarations: 1. union u2 { unsigned int urow2; struct s2 { unsigned int p32 : 1; unsigned int p31 : 1;...
  • Struct in union
    Hi I have some problems with struct inside a union This is my code. union{ unsigned char id_byte[2]; struct { unsigned char DLC:4; unsigned char RTR:1; unsigned int identifier:11; }del_element;...