ds18_internal.h

Internal addresses, registers, constants for DS1822 and DS18B20 temperature sensors.

DS18_CMD_CONVERT
1
(0x44)
DS18_CMD_RSCRATCHPAD
1
(0xbe)
DS18_CMD_WRITESCRATCHPAD
1
(0x4e)
DS18_CMD_COPYSCRATCHPAD
1
(0x48)
DS18_CMD_RECALLE
1
(0xb8)
DS18_CMD_RPWRSPPLY
1
(0xb4)
DS18_CMD_READROM
1
(0x33)
DS18_CMD_MATCHROM
1
(0x55)
DS18_CMD_SEARCHROM
1
(0xf0)
DS18_CMD_ALARMSEARCH
1
(0xec)
DS18_CMD_SKIPROM
1
(0xcc)
DS18_DELAY_RESET
1
(480U)
DS18_DELAY_PRESENCE
1
(60U)
DS18_DELAY_SLOT
1
(60U)
DS18_SAMPLE_TIME
1
(10U)
DS18_DELAY_CONVERT
1
(750U * US_PER_MS)
DS18_DELAY_RW_PULSE
1
(1U)
DS18_DELAY_R_RECOVER
1
(DS18_DELAY_SLOT - DS18_SAMPLE_TIME)