Important: The information in this document is obsolete and should not be used for new development.
ADB Command Completion Routines
TheADBOpfunction is always executed asynchronously; if the bus is busy, the ADB command passed toADBOpis held in a command queue until the bus is free. The result code returned byADBOpindicates only whether the ADB command was successfully placed into the ADB command queue, not whether the command itself was successful.Thus, when you use the
ADBOpfunction to send a command to an ADB device, and your application requires synchronous behavior, you'll need to provide a completion routine to determine when the command has completed.
Subtopics
- MyCompletionRoutine