uint24 Struct Reference
This is a 24 bit variable. More...
#include <common.hpp>
Public Member Functions | |
void | set (uint32_t val) |
uint32_t | get () |
operator uint32_t () | |
uint32_t | operator= (uint32_t val) |
Public Attributes | |
std::array< uint8_t, 3 > | arr |
Detailed Description
This is a 24 bit variable.
It is intendet to be used like uint*_t. The assignment are cast operators expect uint32_t.
Definition at line 83 of file common.hpp.
Member Function Documentation
◆ get()
|
inline |
Definition at line 94 of file common.hpp.
◆ operator uint32_t()
|
inline |
Definition at line 108 of file common.hpp.
◆ operator=()
|
inline |
Definition at line 110 of file common.hpp.
◆ set()
|
inline |
Definition at line 87 of file common.hpp.
Member Data Documentation
◆ arr
std::array<uint8_t, 3> uint24::arr |
Definition at line 85 of file common.hpp.
The documentation for this struct was generated from the following file:
- /home/dominik/uni/MoonState/include/common.hpp