Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ds18b20/DS1Wire.h@3:0ef2ced1f02d, 2014-04-12 (annotated)
- Committer:
- redplam
- Date:
- Sat Apr 12 20:07:15 2014 +0000
- Revision:
- 3:0ef2ced1f02d
- Parent:
- 1:3aec489c7366
myproj
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
redplam | 1:3aec489c7366 | 1 | #ifndef __DS_1_WIRE__ |
redplam | 1:3aec489c7366 | 2 | #define __DS_1_WIRE__ |
redplam | 1:3aec489c7366 | 3 | #include <stdint.h> |
redplam | 1:3aec489c7366 | 4 | #include "mbed.h" |
redplam | 1:3aec489c7366 | 5 | |
redplam | 1:3aec489c7366 | 6 | int Reset(DigitalInOut& pin); |
redplam | 1:3aec489c7366 | 7 | |
redplam | 1:3aec489c7366 | 8 | void WriteBit(DigitalInOut& pin, uint32_t bit); |
redplam | 1:3aec489c7366 | 9 | uint32_t ReadBit(DigitalInOut& pin); |
redplam | 1:3aec489c7366 | 10 | |
redplam | 1:3aec489c7366 | 11 | void WriteByte(DigitalInOut& pin, uint32_t byte); |
redplam | 1:3aec489c7366 | 12 | uint32_t ReadByte(DigitalInOut& pin); |
redplam | 1:3aec489c7366 | 13 | |
redplam | 1:3aec489c7366 | 14 | |
redplam | 1:3aec489c7366 | 15 | #endif |