Just4Trionic - CAN and BDM FLASH programmer for Saab cars

Dependencies:   mbed

CANUtils.h

Committer:
Just4pLeisure
Date:
2010-05-19
Revision:
0:e0b964252a05

File content as of revision 0:e0b964252a05:


// 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);