summaryrefslogtreecommitdiffstats
path: root/board/trab/Pt1000_temp_data.h
blob: 17e9ed7ae85ccddaf57e571fde088f84077f2bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 * Data file for tsc2000 driver.
 * Copyright (C) 2002, 2003 DENX Software Engineering, Wolfgang Denk, wd@denx.de
 */

#ifndef _PT1000_TEMP_DATA_H
#define _PT1000_TEMP_DATA_H

long Pt1000_temp_table[][2] = {
	/* For quick range checking the largest element
	 * is placed at index 0.
	 * U, nV    T, C*100
	 */
	{ 44000000 , 12165 },
	{ -10000000 , -2644 },
	{ -9000000 , -2381 },
	{ -8000000 , -2118 },
	{ -7000000 , -1855 },
	{ -6000000 , -1591 },
	{ -5000000 , -1327 },
	{ -4000000 , -1063 },
	{ -3000000 , -798 },
	{ -2000000 , -532 },
	{ -1000000 , -266 },
	{ 0 , 000 },
	{ 1000000 , 267 },
	{ 2000000 , 534 },
	{ 3000000 , 802 },
	{ 4000000 , 1070 },
	{ 5000000 , 1338 },
	{ 6000000 , 1607 },
	{ 7000000 , 1876 },
	{ 8000000 , 2146 },
	{ 9000000 , 2416 },
	{ 10000000 , 2687 },
	{ 11000000 , 2958 },
	{ 12000000 , 3230 },
	{ 13000000 , 3502 },
	{ 14000000 , 3774 },
	{ 15000000 , 4047 },
	{ 16000000 , 4321 },
	{ 17000000 , 4595 },
	{ 18000000 , 4869 },
	{ 19000000 , 5144 },
	{ 20000000 , 5419 },
	{ 21000000 , 5694 },
	{ 22000000 , 5971 },
	{ 23000000 , 6247 },
	{ 24000000 , 6524 },
	{ 25000000 , 6802 },
	{ 26000000 , 7080 },
	{ 27000000 , 7358 },
	{ 28000000 , 7637 },
	{ 29000000 , 7916 },
	{ 30000000 , 8196 },
	{ 31000000 , 8476 },
	{ 32000000 , 8757 },
	{ 33000000 , 9039 },
	{ 34000000 , 9320 },
	{ 35000000 , 9602 },
	{ 36000000 , 9885 },
	{ 37000000 , 10168 },
	{ 38000000 , 10452 },
	{ 39000000 , 10736 },
	{ 40000000 , 11021 },
	{ 41000000 , 11306 },
	{ 42000000 , 11592 },
	{ 43000000 , 11879 },
	{ 44000000 , 12165 },
};
#endif /* _PT1000_TEMP_DATA_H */
OpenPOWER on IntegriCloud