Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
spoe_fieldbus_driver.h File Reference
#include <chrono>
#include <cstdint>
#include <expected>
#include <functional>
#include <memory>
#include <optional>
#include <span>
#include <stop_token>
#include <string>
#include <vector>
#include "comm/control_plane_locks.h"
#include "comm/fieldbus_driver.h"
#include "comm/spoe_frame.h"
Include dependency graph for spoe_fieldbus_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mm::comm::spoe::SpoeFieldbusDriverConfig
 
struct  mm::comm::spoe::ParameterEntry
 One entry of the parameter list. More...
 
class  mm::comm::spoe::SpoeFieldbusDriver
 

Namespaces

namespace  mm
 
namespace  mm::comm
 
namespace  mm::comm::spoe
 

Enumerations

enum class  mm::comm::spoe::PdoMode : uint8_t { mm::comm::spoe::kNone = 0x00 , mm::comm::spoe::kMonitor = 0x01 , mm::comm::spoe::kControl = 0x02 }
 ETHERNET_PDO_MODE_* in the firmware. More...
 
enum class  mm::comm::spoe::SpoeMode : uint8_t { mm::comm::spoe::kMonitor , mm::comm::spoe::kControl }
 

Functions

std::vector< ParameterEntry > mm::comm::spoe::decodeParameterEntries (std::span< const uint8_t > bytes)
 
std::string mm::comm::spoe::sdoStatusName (uint16_t status)
 Names an SPoE SDO status, which is one of the firmware's SDO_REQUEST_ERROR_* codes.
 

Variables

constexpr std::size_t mm::comm::spoe::kInputQueueLimit = 30
 
constexpr uint16_t mm::comm::spoe::kProtocolVersion100 = 0x0100
 
constexpr uint16_t mm::comm::spoe::kProtocolVersion102 = 0x0102
 
constexpr std::size_t mm::comm::spoe::kParameterEntrySize = 68