GetFrameNumber
Gets the current frame number of the USB controller.
Declaration
virtual kern_return_t GetFrameNumber(uint64_t *frameNumber, uint64_t *theTime);Parameters
- frameNumber:
A pointer to a variable. On return, this variable contains the current frame number.
- theTime:
A pointer to a variable. On return, this variable contains the current time.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.
Discussion
This method returns the current frame number of the USB controller, omitting the microframe. Use this information to schedule future isochronous requests.