Group IRegister_h¶
Public Attributes¶
| Type | Name |
|---|---|
| interface SPINNAKER_API_ABSTRACT | IRegister Interface for registers. |
Public Functions¶
| Type | Name |
|---|---|
| virtual void | Get (uint8_t * pBuffer, int64_t Length, bool Verify=false, bool IgnoreCache=false) = 0 |
| virtual int64_t | GetAddress () = 0 |
| virtual int64_t | GetLength () = 0 |
Public Attributes Documentation¶
variable IRegister¶
Interface for registers.
Public Functions Documentation¶
function Get¶
virtual void Get (
uint8_t * pBuffer,
int64_t Length,
bool Verify=false,
bool IgnoreCache=false
) = 0
Fills a buffer with the register's contents
Parameters:
pBufferThe buffer receiving the data to readLengthThe number of bytes to retrieveVerifyEnables Range verification (default = false). The AccessMode is always checkedIgnoreCacheIf true the value is read ignoring any caches (default = false)
Returns:
The value read
function GetAddress¶
Retrieves the Address of the register
function GetLength¶
Retrieves the Length of the register [Bytes]