I am using CCS 4.2 and i have declared one struct as fallows
typedef struct
{
Uint16 FuncCode;
int32 Data;
Uint16 Crc;
int16 Resv[16];
}READ_COMMAND;
READ_COMMAND ReadCmd;
The "ReadCmd" variable declared above allocates more memory than the actual size.
The actual size is 20 words but it allocates 22 words.
how is this possible?
how can i do packing the above struct?
thanks