Retrieve the endpoint status.
int32_t usb_d_ep_get_status( const uint8_t ep, struct usb_d_ep_status * stat )
Type: const uint8_t
The endpoint address.
Type: struct usb_d_ep_status Struct *
Pointer to the buffer to fill the status description.
Type: int32_t
Endpoint status.
Busy.
Idle.
Error code.