ChimeraTK-DeviceAccess  03.18.00
XdmaIntfAbstract.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 #pragma once
4 
5 #include <cstddef>
6 #include <cstdint>
7 
8 namespace ChimeraTK {
9 
11  public:
12  virtual void read(uintptr_t address, int32_t* __restrict__ buf, size_t nbytes) = 0;
13  virtual void write(uintptr_t address, const int32_t* data, size_t nbytes) = 0;
14  };
15 
16 } // namespace ChimeraTK
ChimeraTK::XdmaIntfAbstract
Definition: XdmaIntfAbstract.h:10
ChimeraTK::XdmaIntfAbstract::read
virtual void read(uintptr_t address, int32_t *__restrict__ buf, size_t nbytes)=0
ChimeraTK::XdmaIntfAbstract::write
virtual void write(uintptr_t address, const int32_t *data, size_t nbytes)=0
ChimeraTK
Definition: DummyBackend.h:16