Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnCommWinAfar.h@84:80b15993944e, 2015-10-30 (annotated)
- Committer:
- uci1
- Date:
- Fri Oct 30 04:49:40 2015 +0000
- Revision:
- 84:80b15993944e
- Parent:
- 56:0bba0ef15697
- Child:
- 116:8099b754fbb4
conf v11,12. ip to ints. write 64chr lbl. send status data packs. comm pwr as needed. comm each evt. conn/list TO separate afar, sbd. calc FFT, L1 trigger, L1 scaledown. pre-compl opts in own file. max comm fail 75. htbt and clock frames store vars.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
uci1 | 37:ff95e7070f26 | 1 | #ifndef SN_SnCommWinAfar |
uci1 | 37:ff95e7070f26 | 2 | #define SN_SnCommWinAfar |
uci1 | 37:ff95e7070f26 | 3 | |
uci1 | 37:ff95e7070f26 | 4 | #include "SnCommWin.h" |
uci1 | 37:ff95e7070f26 | 5 | #include "SnConfigFrame.h" |
uci1 | 37:ff95e7070f26 | 6 | |
uci1 | 37:ff95e7070f26 | 7 | class SnCommWinAfar : public SnCommWin { |
uci1 | 37:ff95e7070f26 | 8 | protected: |
uci1 | 37:ff95e7070f26 | 9 | SnCommWinAfar(SnCommPeripheral* p) : SnCommWin(p) {} |
uci1 | 37:ff95e7070f26 | 10 | |
uci1 | 37:ff95e7070f26 | 11 | public: |
uci1 | 37:ff95e7070f26 | 12 | SnCommWinAfar(SnConfigFrame& conf); |
uci1 | 37:ff95e7070f26 | 13 | virtual ~SnCommWinAfar() {} |
uci1 | 37:ff95e7070f26 | 14 | |
uci1 | 37:ff95e7070f26 | 15 | virtual SnConfigFrame::EDatPackBit GetCommType() const |
uci1 | 37:ff95e7070f26 | 16 | { return SnConfigFrame::kAfar; } |
uci1 | 37:ff95e7070f26 | 17 | |
uci1 | 84:80b15993944e | 18 | virtual ECommWinResult OpenWindow(const bool sendStatus, |
uci1 | 84:80b15993944e | 19 | const SnConfigFrame& conf, |
uci1 | 84:80b15993944e | 20 | const SnPowerFrame& pow, // com win power |
uci1 | 84:80b15993944e | 21 | const SnEventFrame& stEvent, |
uci1 | 84:80b15993944e | 22 | const uint16_t seq, |
uci1 | 84:80b15993944e | 23 | const float thmrate, |
uci1 | 84:80b15993944e | 24 | const float evtrate, |
uci1 | 84:80b15993944e | 25 | const uint32_t powerOnTime, |
uci1 | 84:80b15993944e | 26 | const SnTempFrame& temper, // com win temp |
uci1 | 84:80b15993944e | 27 | char* const genBuf, |
uci1 | 84:80b15993944e | 28 | const uint32_t timeout_clock); |
uci1 | 84:80b15993944e | 29 | /* |
uci1 | 37:ff95e7070f26 | 30 | virtual ECommWinResult OpenWindow(const uint32_t timeout, |
uci1 | 37:ff95e7070f26 | 31 | const bool sendStatus, |
uci1 | 37:ff95e7070f26 | 32 | const SnConfigFrame& conf, |
uci1 | 37:ff95e7070f26 | 33 | const SnEventFrame& evt, |
uci1 | 37:ff95e7070f26 | 34 | const SnPowerFrame& pow, |
uci1 | 37:ff95e7070f26 | 35 | const uint16_t seq, |
uci1 | 37:ff95e7070f26 | 36 | const float thmrate, |
uci1 | 37:ff95e7070f26 | 37 | const float evtrate, |
uci1 | 56:0bba0ef15697 | 38 | const uint32_t powerOnTime, |
uci1 | 56:0bba0ef15697 | 39 | const SnTempFrame& temper, |
uci1 | 37:ff95e7070f26 | 40 | char* const genBuf); |
uci1 | 84:80b15993944e | 41 | */ |
uci1 | 37:ff95e7070f26 | 42 | |
uci1 | 37:ff95e7070f26 | 43 | }; |
uci1 | 37:ff95e7070f26 | 44 | |
uci1 | 37:ff95e7070f26 | 45 | #endif // SN_SnCommWinAfar |