|
Pottu
|
Dataitem used to read the dataitem of type itemtype_e::INFO. More...
#include <dataitem.hpp>
Public Member Functions | |
| infocode_e | getCode () const |
| Returns the infocode as class enum. More... | |
| uint32_t | getChannelIdent () const |
| Returns channel ident for pileup and adc over/under range/flow. | |
| void | set (uint64_t timestamp_, uint32_t code_, uint32_t info_, uint32_t module_) |
| Sets the fields. More... | |
| void | toCStringFull (char *s, uint32_t len) const |
| Get the content as a c string. More... | |
Public Attributes | |
| uint32_t | timestamp: 28 |
| Lowest 28 bits of the timestamp. | |
| uint32_t | res0: 4 |
| Empty 4 bits. Can be used for word order guessing. | |
| uint32_t | info: 20 |
| Value of the info. TODO describe the types of value possible... | |
| uint32_t | code: 4 |
| infocode, one of enum infocode_e. More... | |
| uint32_t | module: 6 |
| Module number who has sent this info. | |
| uint32_t | itemtype: 2 |
| Type of the item. One of itemtype_e. | |
Dataitem used to read the dataitem of type itemtype_e::INFO.
This struct is used as a one member in union dataitem_t.
|
inline |
Returns the infocode as class enum.
|
inline |
Sets the fields.
This can be used if there is need to produce tdr data.
|
inline |
Get the content as a c string.
This is useful for debugging.
| uint32_t pottu::dataitem_info_t::code |
infocode, one of enum infocode_e.
This defines the meaning of info.