Sophie Dexter
/
Just4Trionic
Just4Trionic - CAN and BDM FLASH programmer for Saab cars
Diff: CANUtils.h
- Revision:
- 0:e0b964252a05
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CANUtils.h Wed May 19 12:39:18 2010 +0000 @@ -0,0 +1,14 @@ + +// CANUtils.h - information and definitions needed for the CAN bus + +#include "CAN.h" +#include "mbed.h" + +#define TRUE 1 +#define FALSE 0 + +extern void CANOpen(); +extern void CANClose(); + +extern bool CANSendTimeout (int id, char *frame, int len, int timeout); +extern bool CANWaitTimeout (int id, char *frame, int len, int timeout);