|
Motion Master
|
Represents the mapped PDO entries for a slave device. More...
#include <base.h>
Public Member Functions | |
| size_t | rxSizeBits () const |
| Get total size of RxPDOs in bits. | |
| size_t | txSizeBits () const |
| Get total size of TxPDOs in bits. | |
| size_t | rxSizeBytes () const |
| Get total size of RxPDOs in bytes. | |
| size_t | txSizeBytes () const |
| Get total size of TxPDOs in bytes. | |
Public Attributes | |
| std::vector< PdoMappingEntry > | rxPdos |
| std::vector< PdoMappingEntry > | txPdos |
Represents the mapped PDO entries for a slave device.
This structure contains two vectors:
Each entry in these vectors holds detailed mapping information, including:
|
inlinenodiscard |
Get total size of RxPDOs in bits.
|
inlinenodiscard |
Get total size of RxPDOs in bytes.
Bits are rounded up to the nearest byte.
|
inlinenodiscard |
Get total size of TxPDOs in bits.
|
inlinenodiscard |
Get total size of TxPDOs in bytes.
Bits are rounded up to the nearest byte.
| std::vector<PdoMappingEntry> mm::comm::base::PdoMappings::rxPdos |
Mapped entries for received PDOs (Slave inputs, Master outputs)
| std::vector<PdoMappingEntry> mm::comm::base::PdoMappings::txPdos |
Mapped entries for transmitted PDOs (Slave outputs, Master inputs)