Internal addresses, registers, constants for DS1822 and DS18B20 temperature sensors. More...
Internal addresses, registers, constants for DS1822 and DS18B20 temperature sensors.
Definition in file ds18_internal.h.
#include "time_units.h"
Include dependency graph for ds18_internal.h:Go to the source code of this file.
ds18 commands | |
| #define | DS18_CMD_CONVERT (0x44) |
| #define | DS18_CMD_RSCRATCHPAD (0xbe) |
| #define | DS18_CMD_WRITESCRATCHPAD (0x4e) |
| #define | DS18_CMD_COPYSCRATCHPAD (0x48) |
| #define | DS18_CMD_RECALLE (0xb8) |
| #define | DS18_CMD_RPWRSPPLY (0xb4) |
| #define | DS18_CMD_SEARCHROM (0xf0) |
| #define | DS18_CMD_READROM (0x33) |
| #define | DS18_CMD_MATCHROM (0x55) |
| #define | DS18_CMD_SEARCHROM (0xf0) |
| #define | DS18_CMD_ALARMSEARCH (0xec) |
| #define | DS18_CMD_SKIPROM (0xcc) |
ds18 delays | |
| #define | DS18_DELAY_RESET (480U) |
| #define | DS18_DELAY_PRESENCE (60U) |
| #define | DS18_DELAY_SLOT (60U) |
| #define | DS18_SAMPLE_TIME (10U) |
| #define | DS18_DELAY_CONVERT (750U * US_PER_MS) |
| #define | DS18_DELAY_RW_PULSE (1U) |
| #define | DS18_DELAY_R_RECOVER (DS18_DELAY_SLOT - DS18_SAMPLE_TIME) |
| #define DS18_CMD_ALARMSEARCH (0xec) |
Definition at line 40 of file ds18_internal.h.
| #define DS18_CMD_CONVERT (0x44) |
Definition at line 30 of file ds18_internal.h.
| #define DS18_CMD_COPYSCRATCHPAD (0x48) |
Definition at line 33 of file ds18_internal.h.
| #define DS18_CMD_MATCHROM (0x55) |
Definition at line 38 of file ds18_internal.h.
| #define DS18_CMD_READROM (0x33) |
Definition at line 37 of file ds18_internal.h.
| #define DS18_CMD_RECALLE (0xb8) |
Definition at line 34 of file ds18_internal.h.
| #define DS18_CMD_RPWRSPPLY (0xb4) |
Definition at line 35 of file ds18_internal.h.
| #define DS18_CMD_RSCRATCHPAD (0xbe) |
Definition at line 31 of file ds18_internal.h.
| #define DS18_CMD_SEARCHROM (0xf0) |
Definition at line 36 of file ds18_internal.h.
| #define DS18_CMD_SEARCHROM (0xf0) |
Definition at line 36 of file ds18_internal.h.
| #define DS18_CMD_SKIPROM (0xcc) |
Definition at line 41 of file ds18_internal.h.
| #define DS18_CMD_WRITESCRATCHPAD (0x4e) |
Definition at line 32 of file ds18_internal.h.
| #define DS18_DELAY_CONVERT (750U * US_PER_MS) |
Definition at line 52 of file ds18_internal.h.
| #define DS18_DELAY_PRESENCE (60U) |
Definition at line 49 of file ds18_internal.h.
| #define DS18_DELAY_R_RECOVER (DS18_DELAY_SLOT - DS18_SAMPLE_TIME) |
Definition at line 54 of file ds18_internal.h.
| #define DS18_DELAY_RESET (480U) |
Definition at line 48 of file ds18_internal.h.
| #define DS18_DELAY_RW_PULSE (1U) |
Definition at line 53 of file ds18_internal.h.
| #define DS18_DELAY_SLOT (60U) |
Definition at line 50 of file ds18_internal.h.
| #define DS18_SAMPLE_TIME (10U) |
Definition at line 51 of file ds18_internal.h.