Register#

class itala.itala.IRegister(*args, **kwargs)#

Bases: IValue

Interface for registers

property thisown#

The membership flag

set(buffer, Verify=True)#
Set the register’s contents
type pBuffer:

uint8_t

param pBuffer:

The buffer containing the data to set

type Length:

int

param Length:

The number of bytes in pBuffer

type Verify:

boolean, optional

param Verify:

Enables AccessMode and Range verification (default = true)

get(buffer, Verify=False, IgnoreCache=False)#
Fills a buffer with the register’s contents
type pBuffer:

uint8_t

param pBuffer:

The buffer receiving the data to read

type Length:

int

param Length:

The number of bytes to retrieve

type Verify:

boolean, optional

param Verify:

Enables Range verification (default = false). The AccessMode is always checked

type IgnoreCache:

boolean, optional

param IgnoreCache:

If true the value is read ignoring any caches (default = false)

rtype:

void

return:

The value read

property length: int#

Retrieves the Length of the register [Bytes]

property address: int#

Retrieves the Address of the register

GetAll()#