Get the current frame number and frame length for a device
int usbd_get_frame( struct usdb_device *device,
_int32 *fnum,
_int32 *flen );
This function gets the current frame number and frame length for a specific device (a handle from usbd_attach()).
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |