#include <nitro/wbt.h>
BOOL WBT_RequestSync(u16 target, WBTCallback callback);
target |
Target AID bitmap that synchronizes the parent and child. For the child, only the parent "1" can be specified. |
callback |
WBTCallback format function that is notified when the command completes. This callback is called from inside the WBT_MpChildRecvHook function. |
If no command is currently processing, the function issues a command and returns TRUE
. Otherwise, the function does nothing and returns FALSE
.
Synchronizes communication with the specified target devices. Carries out this synchronization between parent and child, copying the send/receive packet size configured on the parent to the child.
The call fails if a command is still processing.
Each child device calculates the transfer unit size and bitmap buffer size based on this size setting. Therefore, this function must be called at least once before calling the WBT_GetBlock
function.
WBT_GetBlockInfo
WBT_GetBlock
WBT_PutUserData
2005/06/01 Added text indicating that the callback is called from the WBT_MpChildRecvHook
function.
2004/09/21 Initial version.
CONFIDENTIAL