Specifications
V850E2/MN4 USB CDC (Communication Device Class) Driver
R01AN0010EJ0101 Rev.1.01 Page 20 of 117
Feb 01, 2012
(4)
Endpoint Descriptor
This descriptor is sent in response to a GET_DESCRIPTOR_configuration request.
Since the hardware automatically responds to the GET_DESCRIPTOR_configuration request, the settings are stored in
the USFA0CIEn registers (n = 0 to 255) when the USB function controller is initialized.
Since the sample driver uses three endpoints, three endpoint descriptors are set up.
Table 4.5 Endpoint1 (Bulk IN) Endpoint Descriptor Settings
Field
Size
(Bytes) Value Description
bLength 1 0x07 Size of the descriptor: 7 bytes
bDescriptorType 1 0x05 Type of the descriptor: Endpoint
bEndpointAddress 1 0x81
Transfer direction of this endpoint: IN
Address of this endpoint: 1
bmAttributes 1 0x02 Transfer type of this endpoint: Bulk
wMaxPacketSize 2 0x0040
Maximum packet size available for transfer to this
endpoint: 64 bytes
bInterval 1 0x00 Interval for polling this endpoint: 0 ms
Table 4.6 Endpoint2 (Bulk OUT) Endpoint Descriptor Settings
Field
Size
(Bytes) Value Description
bLength 1 0x07 Size of the descriptor: 7 bytes
bDescriptorType 1 0x05 Type of the descriptor: Endpoint
bEndpointAddress 1 0x02
Transfer direction of this endpoint: OUT
Address of this endpoint: 2
bmAttributes 1 0x02 Transfer type of this endpoint: Bulk
wMaxPacketSize 2 0x0040
Maximum packet size available for transfer to this
endpoint: 64 bytes
bInterval 1 0x00 Interval for polling this endpoint: 0 ms
Table 4.7 Endpoint7 (Interrupt IN) Endpoint Descriptor Settings
Field
Size
(Bytes) Value Description
bLength 1 0x07 Size of the descriptor: 7 bytes
bDescriptorType 1 0x05 Type of the descriptor: Endpoint
bEndpointAddress 1 0x87
Transfer direction of this endpoint: IN
Address of this endpoint: 7
bmAttributes 1 0x03 Transfer type of this endpoint: Interrupt
wMaxPacketSize 2 0x0008
Maximum packet size available for transfer to this
endpoint: 8 bytes
bInterval 1 0x0A Interval for polling this endpoint: 10 ms