4.4.8.3.7 USB_TRANSFER_END_CALLBACK_t

typedef void(* USB_TRANSFER_END_CALLBACK_t) (USB_PIPE_t pipe, USB_TRANSFER_STATUS_t status, uint16_t bytesTransferred)

Function callback type USB_TRANSFER_END_CALLBACK_t. Callback type used for transfer complete notifications.

Parameters:
pipe

- Address and direction of the pipe used for the transfer

status

- Status of the completed transfer, USB_PIPE_TRANSFER_OK when successful

bytesTransferred

- Number of bytes transferred

Returns:

None.