13 requestedRegisters(requestedRegisters)
17 this->amountFramesToRead =
static_cast<std::uint16_t
>(frames->
list.size());
21 std::uint16_t amountFramesToRead)
23 if (preallocatedFrames)
25 frames = preallocatedFrames;
26 if (amountFramesToRead > 0)
28 this->amountFramesToRead = amountFramesToRead;
32 this->amountFramesToRead =
static_cast<std::uint16_t
>(frames->
list.size());
38 std::pair<EtherCATFrameList*, std::uint16_t>
43 return {frames, amountFramesToRead};
47 throw std::logic_error(
"RegisterReadRequest: No EtherCATFrameList available");