Spinnaker SDK C++
4.1.0.172
 
 

 
Loading...
Searching...
No Matches
IRegister Interfaces

Functions

virtual void Get (uint8_t *pBuffer, int64_t Length, bool Verify=false, bool IgnoreCache=false)=0
 Fills a buffer with the register's contents.
 
virtual int64_t GetLength ()=0
 Retrieves the Length of the register [Bytes].
 
virtual int64_t GetAddress ()=0
 Retrieves the Address of the register.
 

Variables

interface SPINNAKER_API_ABSTRACT IRegister
 Interface for registers.
 

Detailed Description

Function Documentation

◆ Get()

virtual void Get ( uint8_t *  pBuffer,
int64_t  Length,
bool  Verify = false,
bool  IgnoreCache = false 
)
pure virtual

Fills a buffer with the register's contents.

Parameters
pBufferThe buffer receiving the data to read
LengthThe number of bytes to retrieve
VerifyEnables Range verification (default = false). The AccessMode is always checked
IgnoreCacheIf true the value is read ignoring any caches (default = false)
Returns
The value read

◆ GetAddress()

virtual int64_t GetAddress ( )
pure virtual

Retrieves the Address of the register.

◆ GetLength()

virtual int64_t GetLength ( )
pure virtual

Retrieves the Length of the register [Bytes].

Variable Documentation

◆ IRegister

Interface for registers.