Register

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

Bases: IValue

Interface for registers

GetAll()
property address: int

Retrieves the Address of the register

get(buffer: int, Verify: bool = False, IgnoreCache: bool = False) None
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]

set(buffer: int, Verify: bool = True) None
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)

property thisown

The membership flag