Backing up an unused program in case of future need

Dependencies:   mbed

1-wire.h

Committer:
andrewboyson
Date:
2018-12-06
Revision:
8:45a0205a298f
Parent:
6:be97d38e0b01

File content as of revision 8:45a0205a298f:

#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();