ibutton read with modified ds18b20 libraries

Dependencies:   mbed

Due to the lack of programs for ibutton interfacing with mbed, i built this one (still needs a lot of development), it's in a very basic state, but i'm working on it...

ds1990.h

Committer:
Renato
Date:
2013-08-23
Revision:
0:4f399e4b64a9

File content as of revision 0:4f399e4b64a9:

#ifndef _DS1990_
#define _DS1990_


#include <stdint.h>
#include "mbed.h"

// Device Faimly ID and Setial number information
typedef union {
    uint8_t rom[8];
    struct {
        uint8_t    familyCode;
        uint8_t    serialNo[8];
        uint8_t    CRC;
    } BYTES;
} ROM_Code_t;

ROM_Code_t ReadROM();

#endif