kjhjhkj

Dependencies:   NetServices mbed C027_Supports mbed-rpcx

Committer:
irsanjul
Date:
Tue Aug 06 12:59:05 2019 +0000
Revision:
0:64967b7043c2
testes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
irsanjul 0:64967b7043c2 1 #ifndef ARUCHANNEL_H
irsanjul 0:64967b7043c2 2 #define ARUCHANNEL_H
irsanjul 0:64967b7043c2 3
irsanjul 0:64967b7043c2 4 #include "AruFraming.h"
irsanjul 0:64967b7043c2 5 #include "CommChannel.h"
irsanjul 0:64967b7043c2 6
irsanjul 0:64967b7043c2 7 class AruChannel
irsanjul 0:64967b7043c2 8 {
irsanjul 0:64967b7043c2 9 public:
irsanjul 0:64967b7043c2 10 AruChannel();
irsanjul 0:64967b7043c2 11 ~AruChannel();
irsanjul 0:64967b7043c2 12
irsanjul 0:64967b7043c2 13 int ReceiveCount();
irsanjul 0:64967b7043c2 14 AruFrm Receive();
irsanjul 0:64967b7043c2 15
irsanjul 0:64967b7043c2 16 void Transmit(const AruFrm &f);
irsanjul 0:64967b7043c2 17
irsanjul 0:64967b7043c2 18 void Process();
irsanjul 0:64967b7043c2 19
irsanjul 0:64967b7043c2 20 void Tick10ms();
irsanjul 0:64967b7043c2 21
irsanjul 0:64967b7043c2 22 private:
irsanjul 0:64967b7043c2 23
irsanjul 0:64967b7043c2 24 CommChannel COM;
irsanjul 0:64967b7043c2 25
irsanjul 0:64967b7043c2 26 AruFraming Frm;
irsanjul 0:64967b7043c2 27 std::queue<AruFrm> XMT_QUE;
irsanjul 0:64967b7043c2 28
irsanjul 0:64967b7043c2 29 int commId;
irsanjul 0:64967b7043c2 30 };
irsanjul 0:64967b7043c2 31
irsanjul 0:64967b7043c2 32 #endif // ARUCHANNEL_H