Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::SlaveConfigInfo Struct Reference

A slave's static ESC configuration plus its resolved device name. More...

#include <device_manager.h>

Collaboration diagram for mm::node::SlaveConfigInfo:
[legend]

Public Attributes

mm::comm::SlaveConfig config
 Raw ESC configuration as captured by the driver.
 
std::string deviceName
 Device name for this slave position, empty if unknown.
 
uint32_t vendorId = 0
 Vendor ID from EEPROM.
 
uint32_t productCode = 0
 Product code from EEPROM.
 
uint32_t revisionNumber = 0
 Revision number from EEPROM.
 
uint32_t serialNumber = 0
 Serial number from EEPROM.
 

Detailed Description

A slave's static ESC configuration plus its resolved device name.

API-facing wrapper around mm::comm::SlaveConfig that adds the human-readable device name (from the device set, empty when no matching device is known), built by DeviceManager::busConfig on the (non-RT) caller's thread.

Member Data Documentation

◆ config

mm::comm::SlaveConfig mm::node::SlaveConfigInfo::config

Raw ESC configuration as captured by the driver.

◆ deviceName

std::string mm::node::SlaveConfigInfo::deviceName

Device name for this slave position, empty if unknown.

◆ productCode

uint32_t mm::node::SlaveConfigInfo::productCode = 0

Product code from EEPROM.

◆ revisionNumber

uint32_t mm::node::SlaveConfigInfo::revisionNumber = 0

Revision number from EEPROM.

◆ serialNumber

uint32_t mm::node::SlaveConfigInfo::serialNumber = 0

Serial number from EEPROM.

◆ vendorId

uint32_t mm::node::SlaveConfigInfo::vendorId = 0

Vendor ID from EEPROM.


The documentation for this struct was generated from the following file: