Table 24: Configuration Descriptor Mass Storage Sample; Table 25: Interface Descriptor Mass Storage Sample - NEC V850ES/Jx3-H User Manual

Demonstration kit for 32-bit risc microcontroller
Table of Contents

Advertisement

V850ES/Jx3H – Plug it!
Field
bLength
bDescriptor
wTotalLength
bNumInterfaces
bConfigurationValue
iConfiguration
bmAttributes
bMaxPower
Field
bLength
bDescriptor
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
Descriptor size
1
Descriptor type
2
Total length of the configuration (configuration,
interface, endpoint, and other descriptors)
1
Number of interfaces supported in the
configuration
1
Input value (>= 1) for selecting this
configuration with SetConfiguration
1
Index to string descriptor to indicate
descriptor
1
Configuration attributes with the unit of bit
D7: "1"
D6: self-powered
D5: remote wake-up
D4-D0: reserved (0)
1
Maximum power consumption of bus with
the unit of 2mA

Table 24: Configuration Descriptor Mass Storage Sample

Size
1
Descriptor size
1
Descriptor type
1
Index Number (0 based) to indicate this
interface in the configuration
1
Input value to select alternate setting in
SetInterface
1
Interface endpoint number (excluding endpoint
0)
1
Class Code
0x00: no class
0xFF: vendor
0x01 – 0xFE: specific
1
Subclass code
1
Protocol code
0x00: no specific protocol
0xFF: vendor specific protocol
1
Index to string descriptor to indicate
interface

Table 25: Interface Descriptor Mass Storage Sample

User's Manual U19647EE2V0UM00
Description
Description
Value
0x09
0x02
0x0020
0x01
0x01
0x00
0x80
0x1B
Value
0x09
0x04
0x00
0x00
0x02
0x08
0x06
0x50
0x00
65

Advertisement

Table of Contents
loading

Table of Contents