[lm-sensors] How to define IN_TO_REG and IN_FROM_REG in w83627hf.c

dave jones s.dave.jones at gmail.com
Thu Aug 9 10:51:29 CEST 2007


Hello,

I don't understand why the IN_TO_REG(val) is defined by
(SENSORS_LIMIT((((val) + 8)/16),0,255)) and IN_FROM_REG(val) is
defined by ((val) * 16)

Would you teach me? Thank you.

BR,
Dave.



More information about the lm-sensors mailing list