Download User's Manual TK-78F0730
Transcript
TK-78F0730 Field bLength bDescriptor wTotalLength 1 1 2 Size bNumInterfaces 1 bConfigurationValue 1 iConfiguration 1 bmAttributes 1 bMaxPower 1 Description Descriptor size Descriptor type Total length of the configuration (configuration, interface, endpoint, and other descriptors) Number of interfaces supported in the configuration Input value (>= 1) for selecting this configuration with SetConfiguration Index to string descriptor to indicate descriptor Configuration attributes with the unit of bit D7: "1" D6: self-powered D5: remote wake-up D4-D0: reserved (0) Maximum power consumption of bus with the unit of 2mA Value 0x09 0x02 0x0020 0x01 0x01 0x00 0x80 0x32 Table 28: Configuration Descriptor Serial Conversion Sample Field bLength bDescriptor bInterfaceNumber 1 1 1 Size bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 1 bInterfaceSubclass bInterfaceProtocol 1 1 iInterface 1 Description Descriptor size Descriptor type Index Number (0 based) to indicate this interface in the configuration Input value to select alternate setting in SetInterface Interface endpoint number (excluding endpoint 0) Class Code 0x00: no class 0xFF: vendor 0x01 – 0xFE: specific Subclass code Protocol code 0x00: no specific protocol 0xFF: vendor specific protocol Index to string descriptor to indicate interface Value 0x09 0x04 0x00 0x00 0x02 0xFF 0x00 0x00 0x00 Table 29: Interface Descriptor Serial Conversion Sample User’s Manual U19557EE1V1UM00. 67