Method
HinawaSndDicetransaction
deprecated: 2.5. since: 1.4.
Declaration [src]
void
hinawa_snd_dice_transaction (
HinawaSndDice* self,
guint64 addr,
const guint32* frame,
gsize frame_count,
guint32 bit_flag,
GError** error
)
Description [src]
Execute write transactions to the given address, then wait and check notification.
Available since: 1.4.
Deprecated since: 2.5.
Use HinawaFwReq to send write request transaction to the unit, then use
implementaion of Hitaki.QuadletNotification::notified in
Hitaki.SndDice to wait for notification.
Parameters
addr-
Type:
guint64A destination address of target device.
frame-
Type: An array of
guint32An array with elements for quadlet data to transmit.
The length of the array is specified in the frame_countargument.The data is owned by the caller of the function. frame_count-
Type:
gsizeThe number of quadlets in the frame.
bit_flag-
Type:
guint32Bit flag to wait.
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 aNULLGError*.The argument will left initialized to NULLby 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.