P
When a 32 bit integer value from a device must be read from two adjacent registers, is there a specification which says which register must be shifted?
Normally, if REGISTER1 has offset=1 and REGISTER2 has offset=2 I obtain the value in this way:
value = (REGISTER1 << 16) + REGISTER2
Is this the normal way of proceeding or there's not a rule and some manufacturer can apply the following rule as well?
value = (REGISTER2 << 16) + REGISTER1
thanks
Normally, if REGISTER1 has offset=1 and REGISTER2 has offset=2 I obtain the value in this way:
value = (REGISTER1 << 16) + REGISTER2
Is this the normal way of proceeding or there's not a rule and some manufacturer can apply the following rule as well?
value = (REGISTER2 << 16) + REGISTER1
thanks
