summaryrefslogtreecommitdiff
path: root/lib/onewire.h
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2013-08-04 03:12:29 +0000
committerBernhard Tittelbach <xro@realraum.at>2013-08-04 03:12:29 +0000
commitbe76990656840614230e406f88a8d99c1d81cc6a (patch)
treeeb83cd78e00447b9b804cd3224a24e48b6f85e75 /lib/onewire.h
parentwhitespace cleanups (diff)
ds1820 onewire lib
git-svn-id: https://svn.spreadspace.org/avr/trunk@214 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'lib/onewire.h')
-rw-r--r--lib/onewire.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/onewire.h b/lib/onewire.h
index 0cbd2a4..1410fde 100644
--- a/lib/onewire.h
+++ b/lib/onewire.h
@@ -103,29 +103,6 @@
#error "Please define I/O register types here"
#endif
-#define DS1820_FAMILY_ID 0x10
-#define DS1820_START_CONVERSION 0x44
-#define DS1820_READ_SCRATCHPAD 0xbe
-#define DS1820_WRITE_SCRATCHPAD 0x4e
-#define DS1820_ERROR -1000 // Return code. Outside temperature range.
-#define DS1820_RESOLUTION_9BITS 0x00
-#define DS1820_RESOLUTION_10BITS 0x20
-#define DS1820_RESOLUTION_11BITS 0x40
-#define DS1820_RESOLUTION_12BITS 0x60
-#define DS1820_TCONV_MS_9BITS 96
-#define DS1820_TCONV_MS_10BITS 195
-#define DS1820_TCONV_MS_11BITS 390
-#define DS1820_TCONV_MS_12BITS 800
-
-
-
-
-
-#define DS2890_FAMILY_ID 0x2c
-#define DS2890_WRITE_CONTROL_REGISTER 0X55
-#define DS2890_RELEASE_CODE 0x96
-#define DS2890_WRITE_POSITION 0x0f
-
#ifndef _BV
#define _BV(bit) (1 << (bit))
#endif