Top | ![]() |
![]() |
![]() |
![]() |
A HinawaFwResp responds requests from any units.
Any of transaction frames should be aligned to 32bit (quadlet). This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.
void hinawa_fw_resp_register (HinawaFwResp *self
,HinawaFwUnit *unit
,guint64 addr
,guint width
,GError **exception
);
Start to listen to a range of address in host controller
self |
||
unit |
||
addr |
A start address to listen to in host controller |
|
width |
The byte width of address to listen to host controller |
|
exception |
A GError |
void
hinawa_fw_resp_unregister (HinawaFwResp *self
);
stop to listen to a range of address in host controller
“requested”
signalGArray* user_function (HinawaFwResp *self, gint tcode, GArray *req_frame, gpointer user_data)
When any units transfer requests to the range of address to which this object listening. The ::requested signal handler can set data frame to 'resp_frame' if needed.
self |
||
tcode |
Transaction code |
|
req_frame |
The frame in request. |
[element-type guint32][array][transfer none] |
user_data |
user data set when the signal handler was connected. |
Flags: Run Last