finalized temp encapsulation - factored out magic numbers like 9 and 512/256. We should now change the defines to make temp 32-bits and long temp 64-bits if desired. (e.g. on ARM.)
fixed7_25 as temperature_precise for larger number of fractional bits