Virtual Method

AravisDeviceread_register

Declaration [src]

gboolean
read_register (
  ArvDevice* device,
  guint64 address,
  guint32* value,
  GError** error
)

Description [src]

Reads the value of a device register.

Available since:0.2.0

Parameters

address guint64
 

Register address.

value guint32*
 

A placeholder for the read value.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.