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.
can.h
00001 #include "mbed.h" 00002 00003 00004 00005 //--------------------------------------- 00006 // Definitions 00007 //--------------------------------------- 00008 #define CAN_FREQUENCY ( 500000 ) 00009 00010 00011 00012 //--------------------------------------- 00013 // Enums 00014 //--------------------------------------- 00015 00016 00017 00018 00019 //--------------------------------------- 00020 // Structures 00021 //--------------------------------------- 00022 00023 00024 00025 //--------------------------------------- 00026 // Global Variables 00027 //--------------------------------------- 00028 00029 00030 00031 //--------------------------------------- 00032 // Global Functions 00033 //--------------------------------------- 00034 void CAN_init( void ); // Init hardware and internal buffer 00035 int CAN_get( int *ptrID, char *ptrLen, char *ptrData ); 00036 int CAN_send( int ID, char Len, char *ptrData );
Generated on Sat Jul 16 2022 03:23:51 by
