AT43312
Endpoint Descriptor
There is no endpoint descriptor for Endpoint0. This descriptor describes the Endpoint1 descriptor which the Hub uses for
status change report.
Offset Field
Description
Size (bytes) Value
0
bLength
Size of this descriptor = 7 bytes.
1
0x07
1
bDescriptorType
Descriptor type = Endpoint
1
0x05
2
bEndpointAddress
The address of the IN endpoint
1
0x81
3
bmAttributes
Transfer Type = Interrupt
1
0x03
4
wMaxPacketSize
Max. packet size Endpoint1 is capable of sending = 1 byte
2
0x01
0x00
6
bInterval
Interval for polling endpoint for data transfers = 256 ms
1
0xFF
Hub Descriptor
This descriptor describes the AT43312’s Hub and ports.
Offset
0
1
2
3
5
6
7
8
Field
bDescLength
bDescriptor Type
bNbrPorts
wHubCharacteristics
bPwrOn2PwrGood
bHubContrCurrent
DeviceRemovable
PortPwrCtrlMask
Definition
Define size of this descriptor = 9 bytes
Descriptor Type = HUB_DESCRIPTOR = 29
Number of downstream ports = 4
Hub's characteristics:
= Individual power switching
= Hub is not part of a compound device
= Individual Port Over-current Protection
Time from the time power-on sequence begins on a port until power is
good on that port = 100ms.
Maximum current requirements of the hub electronics = 100 mA.
Indicates if a port has removeable device. All downstream ports have
removable devices.
Indicates if a port is not affected by gang-mode power control request. All
the AT43312’s ports require manual SetPortFeature(PORT_POWER)
request to control the port’s power state.
Size (bytes)
1
1
1
2
Value
0x09
0x29
0x04
0x09
0x00
1
0x32
1
0x64
1
0x00
1
0x1E
11