
tempe
DS1Wire.h@2:778929fc1520, 2021-06-22 (annotated)
- Committer:
- emelinegen
- Date:
- Tue Jun 22 12:34:28 2021 +0000
- Revision:
- 2:778929fc1520
- Parent:
- 0:03ec282c2908
temp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feabhas | 0:03ec282c2908 | 1 | #ifndef __DS_1_WIRE__ |
feabhas | 0:03ec282c2908 | 2 | #define __DS_1_WIRE__ |
feabhas | 0:03ec282c2908 | 3 | #include <stdint.h> |
feabhas | 0:03ec282c2908 | 4 | #include "mbed.h" |
feabhas | 0:03ec282c2908 | 5 | |
feabhas | 0:03ec282c2908 | 6 | int Reset(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 7 | |
feabhas | 0:03ec282c2908 | 8 | void WriteBit(DigitalInOut& pin, uint32_t bit); |
feabhas | 0:03ec282c2908 | 9 | uint32_t ReadBit(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 10 | |
feabhas | 0:03ec282c2908 | 11 | void WriteByte(DigitalInOut& pin, uint32_t byte); |
feabhas | 0:03ec282c2908 | 12 | uint32_t ReadByte(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 13 | |
feabhas | 0:03ec282c2908 | 14 | |
feabhas | 0:03ec282c2908 | 15 | #endif |