Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
usbd_get_frame()
Get the current frame number and frame length for a device
Synopsis:
int usbd_get_frame( struct usdb_device *device,
_int32 *fnum,
_int32 *flen );
Arguments:
- device
- The handle for the device, obtained by calling usbd_attach().
- fnum
- If non-NULL, this is set to the frame number.
- flen
- If non-NULL, this is set to the frame length.
Library:
libusbdi
Description:
This function gets the current frame number and frame length for the specified device.
Returns:
- EOK
- Success.
- ENODEV
- The device has been removed.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)