|
emlabcpp
modern opinionated embedded C++ library
|
Structure that represents definition of one register in the map. More...
#include <register_map.h>
Public Types | |
| using | def_type = D |
| using | key_type = decltype(Key) |
| using | traits = proto_traits< def_type > |
| using | value_type = typename traits::value_type |
Public Attributes | |
| value_type | value |
Static Public Attributes | |
| static constexpr key_type | key = Key |
| static constexpr std::size_t | size = traits::max_size |
Friends | |
| constexpr friend auto | operator<=> (register_pair const &, register_pair const &)=default |
Structure that represents definition of one register in the map.
It also contains the value itself.
| using emlabcpp::protocol::register_pair< Key, D >::def_type = D |
| using emlabcpp::protocol::register_pair< Key, D >::key_type = decltype( Key ) |
| using emlabcpp::protocol::register_pair< Key, D >::traits = proto_traits< def_type > |
| using emlabcpp::protocol::register_pair< Key, D >::value_type = typename traits::value_type |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
| value_type emlabcpp::protocol::register_pair< Key, D >::value |