Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
canutils.h
- Committer:
- Just4pLeisure
- Date:
- 2011-06-07
- Revision:
- 3:92dae9083c83
- Parent:
- 1:d5452e398b76
- Child:
- 4:682d96ff6d79
File content as of revision 3:92dae9083c83:
/******************************************************************************* canutils.h - information and definitions needed for the CAN bus (c) 2010 by Sophie Dexter ******************************************************************************** WARNING: Use at your own risk, sadly this software comes with no guarantees. This software is provided 'free' and in good faith, but the author does not accept liability for any damage arising from its use. *******************************************************************************/ #ifndef __CANUTILS_H__ #define __CANUTILS_H__ #include "CAN.h" #include "mbed.h" #include "common.h" extern void can_open(); extern void can_close(); extern uint8_t can_set_speed(uint32_t speed); extern void show_can_message(); extern void silent_can_message(); extern bool can_send_timeout (uint32_t id, char *frame, uint8_t len, uint16_t timeout); extern bool can_wait_timeout (uint32_t id, char *frame, uint8_t len, uint16_t timeout); #endif