diff options
Diffstat (limited to 'hw_html/bit.hpp')
| -rw-r--r-- | hw_html/bit.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hw_html/bit.hpp b/hw_html/bit.hpp new file mode 100644 index 0000000..b912540 --- /dev/null +++ b/hw_html/bit.hpp @@ -0,0 +1,20 @@ +#ifndef BIT_HPP +#define BIT_HPP + +#include <mcubase.hpp> +#include <string> + +class bit : public mcubase +{ +public: + bit(const std::string &name, const std::string &access, + const std::string &pos); + virtual ~bit() = default; + +protected: + const struct off {unsigned int upper, lower;} off; + static struct off get(const std::string &pos); + std::string comment; +}; + +#endif /* BIT_HPP */ |
