Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mailbox_error_codes.h File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <nlohmann/json_fwd.hpp>
#include <string_view>
Include dependency graph for mailbox_error_codes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mm::comm::MailboxErrorCode
 Metadata for a single CoE mailbox error code entry. More...
 

Namespaces

namespace  mm
 
namespace  mm::comm
 

Functions

void mm::comm::to_json (nlohmann::json &j, const MailboxErrorCode &e)
 Serialises a MailboxErrorCode to JSON.
 
constexpr std::string_view mm::comm::mailboxErrorCodeDescription (uint16_t code)
 Returns the description of code, or an empty view if code is not a known mailbox error code (vendor-specific, or a stale/garbage read).
 

Variables

constexpr auto mm::comm::kMailboxErrorCodes
 Catalogue of CoE mailbox error codes.