libnx
v4.7.0
|
Descriptors which are not available are set to all-zero. More...
#include <usbhs.h>
Data Fields | |
s32 | ID |
u32 | deviceID_2 |
u32 | unk_x8 |
struct usb_interface_descriptor | interface_desc |
u8 | pad_x15 [0x7] |
struct usb_endpoint_descriptor | input_endpoint_descs [15] |
u8 | pad_x85 [0x7] |
struct usb_endpoint_descriptor | output_endpoint_descs [15] |
u8 | pad_xf5 [0x6] |
struct usb_ss_endpoint_companion_descriptor | input_ss_endpoint_companion_descs [15] |
? | |
u8 | pad_x155 [0x6] |
struct usb_ss_endpoint_companion_descriptor | output_ss_endpoint_companion_descs [15] |
? | |
u8 | pad_x1b5 [0x3] |
Descriptors which are not available are set to all-zero.
The INPUT/OUTPUT endpoint descriptors were swapped with [8.0.0+], libnx converts this struct to the newer layout when running on pre-8.0.0.