summaryrefslogtreecommitdiff
path: root/board/trab/tsc2000.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-12 15:35:15 +0000
committerwdenk <wdenk>2003-09-12 15:35:15 +0000
commitf5300ab241898c490231e59229e6312aa862ce52 (patch)
tree92df7780e9c3f85d07eafda8da244e713da1cc3d /board/trab/tsc2000.h
parent68ce8957e551d90917dffb0aa64fc7c52ef6061c (diff)
downloadu-boot-imx-f5300ab241898c490231e59229e6312aa862ce52.zip
u-boot-imx-f5300ab241898c490231e59229e6312aa862ce52.tar.gz
u-boot-imx-f5300ab241898c490231e59229e6312aa862ce52.tar.bz2
Move TRAB burn-in tests to TRAB board directory
Diffstat (limited to 'board/trab/tsc2000.h')
-rw-r--r--board/trab/tsc2000.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/board/trab/tsc2000.h b/board/trab/tsc2000.h
index 4f11869..e6efe18 100644
--- a/board/trab/tsc2000.h
+++ b/board/trab/tsc2000.h
@@ -28,8 +28,6 @@
#ifndef _TSC2000_H_
#define _TSC2000_H_
-#include "Pt1000_temp_data.h"
-
/* temperature channel multiplexer definitions */
#define CON_MUX0 (gpio->PCCON = (gpio->PCCON & 0x0FFFFFCFF) | 0x00000100)
#define CLR_MUX0 (gpio->PCDAT &= 0x0FFEF)
@@ -116,17 +114,17 @@
#define ERROR_BATTERY 220 /* must be adjusted, if R68 is changed on
* TRAB */
-static void tsc2000_write(unsigned short, unsigned short);
-static unsigned short tsc2000_read (unsigned short);
-static u16 tsc2000_read_channel (unsigned int);
-static void tsc2000_set_mux (unsigned int);
-static void tsc2000_set_range (unsigned int);
+void tsc2000_write(unsigned short, unsigned short);
+unsigned short tsc2000_read (unsigned short);
+u16 tsc2000_read_channel (unsigned int);
+void tsc2000_set_mux (unsigned int);
+void tsc2000_set_range (unsigned int);
void tsc2000_reg_init (void);
s32 tsc2000_contact_temp (void);
-static void spi_wait_transmit_done (void);
+void spi_wait_transmit_done (void);
void spi_init(void);
-static int tsc2000_interpolate(long value, long data[][2], long *result);
-static void adc_wait_conversion_done(void);
+int tsc2000_interpolate(long value, long data[][2], long *result);
+void adc_wait_conversion_done(void);
static inline void SET_CS_TOUCH(void)