|
Motion Master 6.0.0-alpha.111
Next-generation motion control software
|
One EtherCAT frame as it sits on the wire, read from its bytes. More...
#include <cstdint>#include <optional>#include <span>#include <vector>Go to the source code of this file.
Classes | |
| struct | mm::capture::Datagram |
| The header of one datagram in a frame, without its data. More... | |
| struct | mm::capture::EtherCatFrame |
| One EtherCAT frame. More... | |
Namespaces | |
| namespace | mm |
| namespace | mm::capture |
Functions | |
| bool | mm::capture::isLogicalCommand (uint8_t command) |
Whether command addresses the process image: LRD, LWR or LRW. | |
| bool | mm::capture::isPositionCountedUp (uint8_t command) |
Whether every slave counts command's position up as the frame passes. | |
| std::optional< EtherCatFrame > | mm::capture::parseEtherCatFrame (std::span< const uint8_t > bytes) |
| Reads one Ethernet frame that carries EtherCAT datagrams. | |
Variables | |
| constexpr uint16_t | mm::capture::kEtherCatEtherType = 0x88A4 |
| The Ethernet type of an EtherCAT frame. | |
One EtherCAT frame as it sits on the wire, read from its bytes.