Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi stic,
> For example reading the value 0x70 residing in one of the component's registers gives the > value 0x00000070 to the variable I'm saving it to. But reading 0x80 gives the value 0xFFFFFF80. If you're reading an 8-bit unsigned value, it's a good idea to store it as an 8-bit unsigned variable ;-) unsigned char foo = <<whatever>> Regards, --Scott