diff options
| author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-04-01 18:23:35 +0000 |
|---|---|---|
| committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-04-01 18:23:35 +0000 |
| commit | 573b5e875bd8431963fc3a40885020f7e3310640 (patch) | |
| tree | 5f00d47a5840d93863b1c0e012726ef49ec9d0d7 /testhal/STM32/I2C/tmp75.h | |
| parent | 7a694b4402e8d47ef0fdc651492ee09084ebcad0 (diff) | |
| download | ChibiOS-573b5e875bd8431963fc3a40885020f7e3310640.tar.gz ChibiOS-573b5e875bd8431963fc3a40885020f7e3310640.tar.bz2 ChibiOS-573b5e875bd8431963fc3a40885020f7e3310640.zip | |
I2C. Usage example added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2864 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/I2C/tmp75.h')
| -rw-r--r-- | testhal/STM32/I2C/tmp75.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32/I2C/tmp75.h b/testhal/STM32/I2C/tmp75.h new file mode 100644 index 000000000..ab4b5fa9b --- /dev/null +++ b/testhal/STM32/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_ */
|
