Dear all
I meet a compiler issue when I use the following code
How could I modify its to solve this error? (version: CCS 5.3, chip:LM4F232)
Thanks :-)
typedef union{
unsigned long pack;
struct {
unsigned char db0; //data byte 0.
unsigned char db1; //data byte 1.
unsigned char db2; //data byte 2.
unsigned char db3; //data byte 3.
};
struct {
unsigned short dwl; //low word of data.
unsigned short dwh; //high word of data.
};
}PROTOCOL_DATA;
typedef struct register {
unsigned long destination;
PROTOCOL_DATA protocol;
}REG;