Bitstream Interpretation Library (BIL)  0.1
V5CommandCode.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 #ifndef BIL_V5COMMANDCODE_HPP
8 #define BIL_V5COMMANDCODE_HPP
9 
10 #include <boost/cstdint.hpp>
11 
12 
13 namespace bil {
14 
20  namespace V5CommandCode {
21 
23  typedef boost::uint32_t command_t;
24 
25  const command_t NULLCMD = 0x0;
26  const command_t WCFG = 0x1;
27  const command_t MFW = 0x2;
28  const command_t LFRM = 0x3;
29  const command_t RCFG = 0x4;
30  const command_t START = 0x5;
31  const command_t RCAP = 0x6;
32  const command_t RCRC = 0x7;
33  const command_t AGHIGH = 0x8;
34  const command_t SWITCH = 0x9;
35  const command_t GRESTORE = 0xa;
36  const command_t SHUTDOWN = 0xb;
37  const command_t GCAPTURE = 0xc;
38  const command_t DESYNCH = 0xd;
39  const command_t IPROG = 0xf;
40  const command_t CRCC = 0x10;
41  const command_t LTIMER = 0x11;
42 
43  extern const char* const NULLCMD_STRING;
44  extern const char* const WCFG_STRING;
45  extern const char* const MFW_STRING;
46  extern const char* const LFRM_STRING;
47  extern const char* const RCFG_STRING;
48  extern const char* const START_STRING;
49  extern const char* const RCAP_STRING;
50  extern const char* const RCRC_STRING;
51  extern const char* const AGHIGH_STRING;
52  extern const char* const SWITCH_STRING;
53  extern const char* const GRESTORE_STRING;
54  extern const char* const SHUTDOWN_STRING;
55  extern const char* const GCAPTURE_STRING;
56  extern const char* const DESYNCH_STRING;
57  extern const char* const IPROG_STRING;
58  extern const char* const CRCC_STRING;
59  extern const char* const LTIMER_STRING;
60 
61 
66  const char* toString(command_t command);
67 
68  }
69 
70 }
71 
72 #endif