Top | ![]() |
![]() |
![]() |
![]() |
A HinawaFwReq supports three types of transactions in IEEE 1212:
read
write
lock
This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.
void hinawa_fw_req_write (HinawaFwReq *self
,HinawaFwUnit *unit
,guint64 addr
,GByteArray *frame
,GError **exception
);
Execute write transactions to the given unit.
void hinawa_fw_req_read (HinawaFwReq *self
,HinawaFwUnit *unit
,guint64 addr
,GByteArray *frame
,guint length
,GError **exception
);
Execute read transaction to the given unit.
void hinawa_fw_req_lock (HinawaFwReq *self
,HinawaFwUnit *unit
,guint64 addr
,GByteArray **frame
,HinawaFwTcode lock_tcode
,GError **exception
);
Execute lock transaction to the given unit.
self |
||
unit |
||
addr |
A destination address of target device |
|
frame |
a 8bit array. |
[element-type guint8][array][inout] |
lock_tcode |
One of HinawaFwTcode enumerator for lock operation. |
|
exception |
A GError |