blob: 17e9ed7ae85ccddaf57e571fde088f84077f2bee [file] [log] [blame]
wdenk4cc02a82003-09-11 23:06:34 +00001/*
2 * Data file for tsc2000 driver.
3 * Copyright (C) 2002, 2003 DENX Software Engineering, Wolfgang Denk, wd@denx.de
4 */
5
6#ifndef _PT1000_TEMP_DATA_H
7#define _PT1000_TEMP_DATA_H
8
9long Pt1000_temp_table[][2] = {
10 /* For quick range checking the largest element
11 * is placed at index 0.
12 * U, nV T, C*100
13 */
14 { 44000000 , 12165 },
15 { -10000000 , -2644 },
16 { -9000000 , -2381 },
17 { -8000000 , -2118 },
18 { -7000000 , -1855 },
19 { -6000000 , -1591 },
20 { -5000000 , -1327 },
21 { -4000000 , -1063 },
22 { -3000000 , -798 },
23 { -2000000 , -532 },
24 { -1000000 , -266 },
25 { 0 , 000 },
26 { 1000000 , 267 },
27 { 2000000 , 534 },
28 { 3000000 , 802 },
29 { 4000000 , 1070 },
30 { 5000000 , 1338 },
31 { 6000000 , 1607 },
32 { 7000000 , 1876 },
33 { 8000000 , 2146 },
34 { 9000000 , 2416 },
35 { 10000000 , 2687 },
36 { 11000000 , 2958 },
37 { 12000000 , 3230 },
38 { 13000000 , 3502 },
39 { 14000000 , 3774 },
40 { 15000000 , 4047 },
41 { 16000000 , 4321 },
42 { 17000000 , 4595 },
43 { 18000000 , 4869 },
44 { 19000000 , 5144 },
45 { 20000000 , 5419 },
46 { 21000000 , 5694 },
47 { 22000000 , 5971 },
48 { 23000000 , 6247 },
49 { 24000000 , 6524 },
50 { 25000000 , 6802 },
51 { 26000000 , 7080 },
52 { 27000000 , 7358 },
53 { 28000000 , 7637 },
54 { 29000000 , 7916 },
55 { 30000000 , 8196 },
56 { 31000000 , 8476 },
57 { 32000000 , 8757 },
58 { 33000000 , 9039 },
59 { 34000000 , 9320 },
60 { 35000000 , 9602 },
61 { 36000000 , 9885 },
62 { 37000000 , 10168 },
63 { 38000000 , 10452 },
64 { 39000000 , 10736 },
65 { 40000000 , 11021 },
66 { 41000000 , 11306 },
67 { 42000000 , 11592 },
68 { 43000000 , 11879 },
69 { 44000000 , 12165 },
70};
71#endif /* _PT1000_TEMP_DATA_H */