1 |
22 |
wfjm |
// $Id: Rbits.hpp 530 2013-08-09 21:25:04Z mueller $
|
2 |
19 |
wfjm |
//
|
3 |
22 |
wfjm |
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
4 |
19 |
wfjm |
//
|
5 |
|
|
// This program is free software; you may redistribute and/or modify it under
|
6 |
|
|
// the terms of the GNU General Public License as published by the Free
|
7 |
|
|
// Software Foundation, either version 2, or at your option any later version.
|
8 |
|
|
//
|
9 |
|
|
// This program is distributed in the hope that it will be useful, but
|
10 |
|
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
11 |
|
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
12 |
|
|
// for complete details.
|
13 |
|
|
//
|
14 |
|
|
// Revision History:
|
15 |
|
|
// Date Rev Version Comment
|
16 |
|
|
// 2013-03-01 493 1.0 Initial version
|
17 |
|
|
// ---------------------------------------------------------------------------
|
18 |
|
|
|
19 |
|
|
/*!
|
20 |
|
|
\file
|
21 |
22 |
wfjm |
\version $Id: Rbits.hpp 530 2013-08-09 21:25:04Z mueller $
|
22 |
19 |
wfjm |
\brief Declaration of class Rbits .
|
23 |
|
|
*/
|
24 |
|
|
|
25 |
|
|
#ifndef included_Retro_Rbits
|
26 |
|
|
#define included_Retro_Rbits 1
|
27 |
|
|
|
28 |
|
|
#include <cstdint>
|
29 |
|
|
|
30 |
|
|
namespace Retro {
|
31 |
|
|
class Rbits {
|
32 |
|
|
public:
|
33 |
|
|
|
34 |
|
|
static const uint8_t kBBit00 = 1u<< 0;
|
35 |
|
|
static const uint8_t kBBit01 = 1u<< 1;
|
36 |
|
|
static const uint8_t kBBit02 = 1u<< 2;
|
37 |
|
|
static const uint8_t kBBit03 = 1u<< 3;
|
38 |
|
|
static const uint8_t kBBit04 = 1u<< 4;
|
39 |
|
|
static const uint8_t kBBit05 = 1u<< 5;
|
40 |
|
|
static const uint8_t kBBit06 = 1u<< 6;
|
41 |
|
|
static const uint8_t kBBit07 = 1u<< 7;
|
42 |
|
|
|
43 |
|
|
static const uint16_t kWBit00 = 1u<< 0;
|
44 |
|
|
static const uint16_t kWBit01 = 1u<< 1;
|
45 |
|
|
static const uint16_t kWBit02 = 1u<< 2;
|
46 |
|
|
static const uint16_t kWBit03 = 1u<< 3;
|
47 |
|
|
static const uint16_t kWBit04 = 1u<< 4;
|
48 |
|
|
static const uint16_t kWBit05 = 1u<< 5;
|
49 |
|
|
static const uint16_t kWBit06 = 1u<< 6;
|
50 |
|
|
static const uint16_t kWBit07 = 1u<< 7;
|
51 |
|
|
static const uint16_t kWBit08 = 1u<< 8;
|
52 |
|
|
static const uint16_t kWBit09 = 1u<< 9;
|
53 |
|
|
static const uint16_t kWBit10 = 1u<<10;
|
54 |
|
|
static const uint16_t kWBit11 = 1u<<11;
|
55 |
|
|
static const uint16_t kWBit12 = 1u<<12;
|
56 |
|
|
static const uint16_t kWBit13 = 1u<<13;
|
57 |
|
|
static const uint16_t kWBit14 = 1u<<14;
|
58 |
|
|
static const uint16_t kWBit15 = 1u<<15;
|
59 |
|
|
|
60 |
|
|
static const uint32_t kLBit00 = 1u<< 0;
|
61 |
|
|
static const uint32_t kLBit01 = 1u<< 1;
|
62 |
|
|
static const uint32_t kLBit02 = 1u<< 2;
|
63 |
|
|
static const uint32_t kLBit03 = 1u<< 3;
|
64 |
|
|
static const uint32_t kLBit04 = 1u<< 4;
|
65 |
|
|
static const uint32_t kLBit05 = 1u<< 5;
|
66 |
|
|
static const uint32_t kLBit06 = 1u<< 6;
|
67 |
|
|
static const uint32_t kLBit07 = 1u<< 7;
|
68 |
|
|
static const uint32_t kLBit08 = 1u<< 8;
|
69 |
|
|
static const uint32_t kLBit09 = 1u<< 9;
|
70 |
|
|
static const uint32_t kLBit10 = 1u<<10;
|
71 |
|
|
static const uint32_t kLBit11 = 1u<<11;
|
72 |
|
|
static const uint32_t kLBit12 = 1u<<12;
|
73 |
|
|
static const uint32_t kLBit13 = 1u<<13;
|
74 |
|
|
static const uint32_t kLBit14 = 1u<<14;
|
75 |
|
|
static const uint32_t kLBit15 = 1u<<15;
|
76 |
|
|
static const uint32_t kLBit16 = 1u<<16;
|
77 |
|
|
static const uint32_t kLBit17 = 1u<<17;
|
78 |
|
|
static const uint32_t kLBit18 = 1u<<18;
|
79 |
|
|
static const uint32_t kLBit19 = 1u<<19;
|
80 |
|
|
static const uint32_t kLBit20 = 1u<<20;
|
81 |
|
|
static const uint32_t kLBit21 = 1u<<21;
|
82 |
|
|
static const uint32_t kLBit22 = 1u<<22;
|
83 |
|
|
static const uint32_t kLBit23 = 1u<<23;
|
84 |
|
|
static const uint32_t kLBit24 = 1u<<24;
|
85 |
|
|
static const uint32_t kLBit25 = 1u<<25;
|
86 |
|
|
static const uint32_t kLBit26 = 1u<<26;
|
87 |
|
|
static const uint32_t kLBit27 = 1u<<27;
|
88 |
|
|
static const uint32_t kLBit28 = 1u<<28;
|
89 |
|
|
static const uint32_t kLBit29 = 1u<<29;
|
90 |
|
|
static const uint32_t kLBit30 = 1u<<30;
|
91 |
|
|
static const uint32_t kLBit31 = 1u<<31;
|
92 |
|
|
|
93 |
|
|
};
|
94 |
|
|
|
95 |
|
|
} // end namespace Retro
|
96 |
|
|
|
97 |
|
|
//#include "Rbits.ipp"
|
98 |
|
|
|
99 |
|
|
#endif
|