主权项 |
1. A method of using an electronic device, the device comprising a voltage measurement unit configured to generate a measurement value indicative of a voltage, wherein the measurement value is based partly on a temperature, the method comprising:
applying a first voltage to the device; setting the temperature to each of multiple temperature values; storing a first plurality of measurement values indicative of the first voltage for the multiple temperature values; generating a first relationship, the first relationship being between the first measurement values and the temperature; generating a parameter for a compensation function based on the first relationship, wherein the compensation function is dependent on temperature, and wherein the compensation function is configured to be used to determine a compensated voltage value based on a test voltage which is measured at a measurement temperature and which is received by the voltage measurement unit; and storing the generated parameter. |