Hi
I am using an analog ADuc7022 with the Keil CARM compiler. With a packed structure containing bytes and shorts, I cant access the short data values correctly. For example if I have a short in the structure containing 0x55DD, I would just get 0x00DD when trying to assign the value to another variable.
Thanks for any help Mike
Looks like a mistake in your source code. Are you sure that all accesses go to __packed variables.