aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/I2C/tmp75.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-07 19:26:30 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-07 19:26:30 +0000
commit2fbafd292a430fef8a16bc0c8cbe53e1a6a53bd0 (patch)
tree279017ee5967c48a5d750b4ad0df9d73ea6bef7d /testhal/STM32F1xx/I2C/tmp75.h
parent3799bf56f52f7a5be9eeda6757c6642105c4ed66 (diff)
downloadChibiOS-2fbafd292a430fef8a16bc0c8cbe53e1a6a53bd0.tar.gz
ChibiOS-2fbafd292a430fef8a16bc0c8cbe53e1a6a53bd0.tar.bz2
ChibiOS-2fbafd292a430fef8a16bc0c8cbe53e1a6a53bd0.zip
I2C. Testhal updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3573 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/I2C/tmp75.h')
-rw-r--r--testhal/STM32F1xx/I2C/tmp75.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32F1xx/I2C/tmp75.h b/testhal/STM32F1xx/I2C/tmp75.h
new file mode 100644
index 000000000..ab4b5fa9b
--- /dev/null
+++ b/testhal/STM32F1xx/I2C/tmp75.h
@@ -0,0 +1,13 @@
+#ifndef TMP75_H_
+#define TMP75_H_
+
+
+
+/* buffers depth */
+#define TMP75_RX_DEPTH 2
+#define TMP75_TX_DEPTH 2
+
+void init_tmp75(void);
+void request_temperature(void);
+
+#endif /* TMP75_H_ */