tested
Dependencies: Queue mbed-rtos mbed
Diff: can_bus.h
- Revision:
- 0:265e6a986bf1
diff -r 000000000000 -r 265e6a986bf1 can_bus.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/can_bus.h Thu Jul 27 12:53:20 2017 +0000 @@ -0,0 +1,13 @@ + +#include "types.h" + +#ifndef __CAN_BUS__ +#define __CAN_BUS__ + +void can_bus_configure(uint32 txID,uint32 rxID,uint32 speed); +void can_bus_send(uint8 * message, uint8 dlc=8); +CANMessage can_bus_receive(void); +uint32 can_bus_available(void); +void can_init(void); + +#endif \ No newline at end of file