Backing up an unused program in case of future need

Dependencies:   mbed

1-wire.h

Committer:
andrewboyson
Date:
2016-05-31
Revision:
6:be97d38e0b01
Parent:
5:6226f3c566ef

File content as of revision 6:be97d38e0b01:

#define ONE_WIRE_RESULT_OK                      0
#define ONE_WIRE_RESULT_NO_DEVICE_PRESENT       1
#define ONE_WIRE_RESULT_NO_DEVICE_PARTICIPATING 2
#define ONE_WIRE_RESULT_TIMED_OUT               3
#define ONE_WIRE_RESULT_CRC_ERROR               4

extern int  OneWireResult();
extern int  OneWireInit();
extern int  OneWireBusy();
extern void OneWireExchange(int lenBytesToSend, int lenBytesToRecv, char *pBytesToSend, char *pBytesToRecv, int msToPullUp);
extern void OneWireSearch(char command, char* pDeviceRomList, int* pAllDevicesFound);
extern int  OneWireMain();