libtransistor
A userland library for the Nintendo Switch
|
USB-as-device endpoint. More...
Go to the source code of this file.
Data Structures | |
struct | usb_ds_endpoint_t |
struct | usb_ds_report_entry_t |
struct | usb_ds_report_t |
Functions | |
result_t | usb_ds_post_buffer_async (usb_ds_endpoint_t *endp, void *buffer, size_t size, uint32_t *urb_id) |
Submits the buffer for transfer over the endpoint. | |
result_t | usb_ds_get_completion_event (usb_ds_endpoint_t *endp, revent_h *event) |
Gets an event that is signalled when a transaction completes. | |
result_t | usb_ds_get_report_data (usb_ds_endpoint_t *endp, usb_ds_report_t *report) |
Gets report data. | |
result_t | usb_ds_close_endpoint (usb_ds_endpoint_t *endp) |
Close and destroy the given endpoint. | |
result_t | usb_ds_stall (usb_ds_endpoint_t *endp) |
Halts an in-progress data transfer. | |
USB-as-device endpoint.