Searched refs:MC_PER_C (Results 1 – 1 of 1) sorted by relevance
21 #define MC_PER_C 1000 macro78 t = (MC_PER_C * (raw_val - MV_AT_0C_MCP9700_9700A)) / T_COEFF_MCP9700_9700A; in get()82 t = (MC_PER_C * 10 * (raw_val - MV_AT_0C_MCP9701_9701A)) / t_coeff; in get()85 val->val1 = t / MC_PER_C; in get()86 val->val2 = 1000 * (t % MC_PER_C); in get()