search for: therm_tbl

Displaying 1 result from an estimated 1 matches for "therm_tbl".

2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
...cale = 0.02571 * 100; +static const float vbat_scale = 0.00857 * 100; +static const float ccharge_scale = 0.8274 / 10; +static const float cdischarge_scale = 16.113 / 10; + +/* Thermistor table used for temperature lookups + * taken from the windows monitoring application + */ +static unsigned int therm_tbl[] = +{ + (unsigned int)0x31, + (unsigned int)0x40, + (unsigned int)0x53, + (unsigned int)0x68, + (unsigned int)0x82, + (unsigned int)0xA0, + (unsigned int)0xC3, + (unsigned int)0xE9, + (unsigned int)0x113, + (unsigned int)0x13F, + (unsigned int)0x16E, + (unsigned int)0x19F, + (unsigned int)0x1CF,...