Mapping of a PDO. This is basically a description that says where to look in the object dictionary and how many bits to read. More...
#include <PDO.h>
Public Member Functions | |
MappingConfiguration (const uint16_t index_, const uint8_t subindex_, const uint8_t length_, const std::string &name_) | |
MappingConfiguration Create a new mapping configuration entry. More... | |
Public Attributes | |
uint16_t | index |
uint8_t | length |
std::string | name |
uint8_t | subindex |
Mapping of a PDO. This is basically a description that says where to look in the object dictionary and how many bits to read.
|
inline |
MappingConfiguration Create a new mapping configuration entry.
index_ | Object Dictionary Index |
subindex_ | Object Dictionary Sub-Index |
length_ | length in BITS not bytes. For exammple: An unsigned32 will have the length of 0x20 |
name_ | Arbitrary name to identify and acces the pdo mapped value later on (for example: "speed") |
uint16_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::index |
uint8_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::length |
std::string icl_hardware::canopen_schunk::PDO::MappingConfiguration::name |
uint8_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::subindex |