15 size_t byteOffset,
size_t numberOfWords)
17 _accAddress(std::move(accAddress)), _accDataArea(std::move(accData)), _accStatus(std::move(accStatus)),
18 _startAddress(byteOffset), _numberOfWords(numberOfWords) {
21 _buffer.resize(numberOfWords);
51 _accAddress->accessData(0) =
static_cast<int32_t
>(adr);
53 usleep(
_backend->addressToDataDelay);
63 for(
size_t innerOffset = 0; innerOffset <
_accDataArea->getNumberOfSamples(); ++innerOffset) {
82 if(++retry > max_retry) {
84 "' failed: timeout waiting for cleared busy flag (" +
_accStatus->getName() +
")");
95 _exceptionBackend->setException(ex.
what());
131 _accStatus->getName() +
"' is not readable.");
173 return {boost::enable_shared_from_this<TransferElement>::shared_from_this()};