omar medjdoub / Mbed 2 deprecated canbus2

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers can.h Source File

can.h

00001 #include "mbed.h"
00002 #include "CAN.h"
00003 #include "iostream"
00004 #include "sstream"
00005 #include "iomanip"
00006 #include "string"
00007 #include "stdlib.h"  
00008 extern CAN can1; // rd, td Monitor
00009 
00010 
00011 class can
00012 {
00013     public:
00014         void sendtocanvattitude();
00015         void sendtocanvspeed();
00016         void CAN2_wrFilter (uint32_t id);
00017         void tick();
00018        
00019     private:
00020         Ticker ticker;
00021         Ticker flipper;
00022 };
00023 
00024 class nodespresponse{
00025       public:
00026       void ids();
00027       void nss(unsigned long time);
00028       void dds1();
00029       void dds2();
00030       void dus1();
00031       void dus2();
00032       void scs();
00033       void tis();
00034       void fps();
00035       void sts();
00036       void fss();
00037       void tcs();
00038       void bss();
00039       void nis();
00040       void mis();
00041       void mcs();
00042       void css();
00043       void dss();
00044       
00045 };