Part Number: LP-EM-CC1354P10
Other Parts Discussed in Thread: CC1354P10, SYSBIOS
Tool/software:
Hi,
I have on my code a typedef struct as follows:
/* Typedef Struct definition */
typedef struct {
uint32_t timestamp;
uint64_t status;
float data[32];
uint32_t packet_id;
int8_t rssi;
} dataPoint_t;
I assign a value to the status variable, for example:
dataPoint_t dataPoint; dataPoint.status = 15;
Then the variable show to be receiving the value shifted 32 bits to the left, when I print it it shows 64424509440 instead.
Why does this happen, and how can I get the correct value?
Thank in advance,
Eduardo.

