Knud Dalgaard / 310-TMC3-TestHW

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers can.h Source File

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