Method
HinawaFwNoderead_cycle_time
since: 4.0
Declaration [src]
gboolean
hinawa_fw_node_read_cycle_time (
HinawaFwNode* self,
gint clock_id,
HinawaCycleTime** cycle_time,
GError** error
)
Description [src]
Read current value of CYCLE_TIME register in 1394 OHCI hardware dedicated to communicate with the associated node in IEEE 1394 bus.
Available since: 4.0
Parameters
clock_id
-
Type:
gint
The numeric ID of clock source for the reference timestamp. One of CLOCK_REALTIME(0), CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(4) is available in UAPI of Linux kernel.
cycle_time
-
Type:
HinawaCycleTime
The argument will be modified by the function. The instance takes ownership of the data, and is responsible for freeing it. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.