|
FpgaManager
Software API Documentation
|
Interface definition of the FPGA Manager MmAccess interface More...
#include <FpgaManager_Interfaces.h>
Public Member Functions | |
| virtual | ~IMmAccess ()=default |
| Destructor More... | |
| virtual uint32_t | ReadRegister (uint32_t address)=0 |
| Reads from a single register More... | |
| virtual void | WriteRegister (uint32_t address, uint32_t value)=0 |
| Writes to a single register More... | |
| virtual void | ReadContiguous (uint32_t address, uint8_t *buffer_p, std::size_t bufSize)=0 |
| Reads consecutive bytes from mapped memory/registers More... | |
| template<std::size_t N> | |
| void | ReadContiguous (uint32_t address, uint8_t(&buffer)[N]) |
| Reads consecutive bytes from mapped memory/registers More... | |
| template<std::size_t N> | |
| void | ReadContiguous (uint32_t address, std::array< uint8_t, N > &array) |
| Reads consecutive bytes from mapped memory/registers More... | |
| virtual void | WriteContiguous (uint32_t address, const uint8_t *buffer_p, std::size_t bufSize)=0 |
| Writes consecutive bytes to mapped memory/registers More... | |
| template<std::size_t N> | |
| void | WriteContiguous (uint32_t address, const uint8_t(&buffer)[N]) |
| Writes consecutive bytes to mapped memory/registers More... | |
| template<std::size_t N> | |
| void | WriteContiguous (uint32_t address, const std::array< uint8_t, N > &array) |
| Writes consecutive bytes to mapped memory/registers More... | |
| virtual void | ReadMailbox (uint32_t address, uint8_t *buffer_p, std::size_t bufSize)=0 |
| Reads multiple words from a single address location More... | |
| template<std::size_t N> | |
| void | ReadMailbox (uint32_t address, uint8_t(&buffer)[N]) |
| Reads multiple words from a single address location More... | |
| template<std::size_t N> | |
| void | ReadMailbox (uint32_t address, std::array< uint8_t, N > &array) |
| Reads multiple words from a single address location More... | |
| virtual void | WriteMailbox (uint32_t address, const uint8_t *buffer_p, std::size_t bufSize)=0 |
| Writes multiple words to a single address location More... | |
| template<std::size_t N> | |
| void | WriteMailbox (uint32_t address, const uint8_t(&buffer)[N]) |
| Writes multiple words to a single address location More... | |
| template<std::size_t N> | |
| void | WriteMailbox (uint32_t address, const std::array< uint8_t, N > &array) |
| Writes multiple words to a single address location More... | |
| virtual void | ReadMailbox (uint32_t address, uint32_t *buffer_p, std::size_t count)=0 |
| Reads multiple words from a single address location More... | |
| template<std::size_t N> | |
| void | ReadMailbox (uint32_t address, uint32_t(&buffer)[N]) |
| Reads multiple words from a single address location More... | |
| template<std::size_t N> | |
| void | ReadMailbox (uint32_t address, std::array< uint32_t, N > &array) |
| Reads multiple words from a single address location More... | |
| virtual void | WriteMailbox (uint32_t address, const uint32_t *buffer_p, std::size_t count)=0 |
| Writes multiple words to a single address location More... | |
| template<std::size_t N> | |
| void | WriteMailbox (uint32_t address, const uint32_t(&buffer)[N]) |
| Writes multiple words to a single address location More... | |
| template<std::size_t N> | |
| void | WriteMailbox (uint32_t address, const std::array< uint32_t, N > &array) |
| Writes multiple words to a single address location More... | |
Interface definition of the FPGA Manager MmAccess interface
|
virtualdefault |
Destructor
|
pure virtual |
Reads consecutive bytes from mapped memory/registers
| address | Start address of transfer |
| buffer_p | Buffer where the data is copied to |
| bufSize | Length of transfer in bytes |
Implemented in RegisterBank.
|
inline |
Reads consecutive bytes from mapped memory/registers
| N | Length of transfer in bytes (can be deduced) |
| address | Start address of transfer |
| buffer | Buffer where the data is copied to |
|
inline |
Reads consecutive bytes from mapped memory/registers
| N | Length of transfer in bytes (can be deduced) |
| address | Start address of transfer |
| array | Array where the data is copied to |
|
pure virtual |
Reads multiple words from a single address location
| address | Address of transfer |
| buffer_p | Buffer where the data is copied to |
| bufSize | Length of transfer in bytes |
Implemented in RegisterBank.
|
inline |
Reads multiple words from a single address location
| N | Length of transfer in bytes (can be deduced) |
| address | Address of transfer |
| buffer | Buffer where the data is copied to |
|
inline |
Reads multiple words from a single address location
| N | Length of transfer in bytes (can be deduced) |
| address | Address of transfer |
| array | Array where the data is copied to |
|
pure virtual |
Reads multiple words from a single address location
| address | Address of transfer |
| buffer_p | Buffer where the data is copied to |
| count | Number of words to transfer |
Implemented in RegisterBank.
|
inline |
Reads multiple words from a single address location
| N | Length of transfer in words (can be deduced) |
| address | Address of transfer |
| buffer | Buffer where the data is copied to |
|
inline |
Reads multiple words from a single address location
| N | Length of transfer in words (can be deduced) |
| address | Address of transfer |
| array | Array where the data is copied to |
|
pure virtual |
Reads from a single register
| address | Register address |
Implemented in RegisterBank.
|
pure virtual |
Writes consecutive bytes to mapped memory/registers
| address | Start address of transfer |
| buffer_p | Buffer where the data is copied from |
| bufSize | Length of transfer in bytes |
Implemented in RegisterBank.
|
inline |
Writes consecutive bytes to mapped memory/registers
| N | Length of transfer in bytes (can be deduced) |
| address | Start address of transfer |
| buffer | Buffer where the data is copied from |
|
inline |
Writes consecutive bytes to mapped memory/registers
| N | Length of transfer in bytes (can be deduced) |
| address | Start address of transfer |
| array | Array where the data is copied from |
|
pure virtual |
Writes multiple words to a single address location
| address | Address of transfer |
| buffer_p | Buffer where the data is copied from |
| bufSize | Length of transfer in bytes |
Implemented in RegisterBank.
|
inline |
Writes multiple words to a single address location
| N | Length of transfer in bytes (can be deduced) |
| address | Address of transfer |
| buffer | Buffer where the data is copied from |
|
inline |
Writes multiple words to a single address location
| N | Length of transfer in bytes (can be deduced) |
| address | Address of transfer |
| array | Array where the data is copied from |
|
pure virtual |
Writes multiple words to a single address location
| address | Address of transfer |
| buffer_p | Buffer where the data is copied from |
| count | Number of words to transfer |
Implemented in RegisterBank.
|
inline |
Writes multiple words to a single address location
| N | Length of transfer in words (can be deduced) |
| address | Address of transfer |
| buffer | Buffer where the data is copied from |
|
inline |
Writes multiple words to a single address location
| N | Length of transfer in words (can be deduced) |
| address | Address of transfer |
| array | Array where the data is copied from |
|
pure virtual |
Writes to a single register
| address | Register address |
| value | Value to write |
Implemented in RegisterBank.