|
Motion Master
|
What a slave's station address register holds, read by the slave's position on the bus. More...
#include <soem.h>
Public Types | |
| enum class | Kind { kNoAnswer , kCleared , kChanged , kIntact } |
Public Member Functions | |
| std::string | describe () const |
| One sentence for the log that says what the reading means. | |
Public Attributes | |
| Kind | kind = Kind::kNoAnswer |
| uint16_t | value = 0 |
| The value read from the register. 0 when kind is kNoAnswer. | |
| uint16_t | expected = 0 |
| The station address ec_config_init() gave the slave. | |
What a slave's station address register holds, read by the slave's position on the bus.
A read by position reaches the slave whatever its station address is, so it tells why a slave stopped answering at the address ec_config_init() gave it.
|
strong |
|
nodiscard |
One sentence for the log that says what the reading means.
| uint16_t mm::comm::soem::StationAddressReading::expected = 0 |
The station address ec_config_init() gave the slave.
| Kind mm::comm::soem::StationAddressReading::kind = Kind::kNoAnswer |
| uint16_t mm::comm::soem::StationAddressReading::value = 0 |
The value read from the register. 0 when kind is kNoAnswer.