LZ85194
28
IrDA Control Peripheral Engine User
’
s Guide
IrDA Control Descriptor
The IrDA Control Descriptor must be written to the PE in the Descriptor format specified in
the IrDA Control Specification.* See the
‘
Sample Descriptor
’
section for the report descrip-
tor samples.
NOTE:
*IrDA Control Specification (Formerly IrBus) IrDA CIR (Control IR) Standard Final Specification, Final
Revision 1.0, June 30,1998.
For bCountryCode, the same code given as bCountryCode at offset location of four spec-
ified in Universal Serial Bus (USB) Device Class Definition for Human Interface Devices
((HID) Firmware Specification Version 1.0, Final must be used.
As to WDescriptorLength, the same descriptor given as WDescriptorLength at offset loca-
tion of 7 specified in Universal Serial Bus (USB) Device Class Definition for Human Inter-
face Devices (HID) Firmware Specification Version 1.0, Final must be used.
Copyright Descriptor
Copyright Descriptor will not be used in usual cases.
Table 19. IrDA Control Descriptor
OFFSET
FIELD
SIZE
DESCRIPTION
0
1
bLength
bDescriptorType
1
1
Size of this descriptor in bytes
IrDA Control Descriptor
IrDA Control specification release number in bi-
nary-coded decimal
Class descriptor number 1 ID code
Class descriptor number 2 ID code
Class descriptor number 3 ID code
Class descriptor number 4 ID code
Endpoint transfer type and maximum packet size
Endpoint transfer type and maximum packet size
Endpoint transfer type and maximum packet size
Logical device 1 packet size
Logical interrupt IN device 1 attributes bitmap
Logical device 2 packet size
Logical interrupt IN device 2 attributes bitmap
Logical device 3 packet size
Logical interrupt IN device 3 attributes bitmap
Hardware target country 1
Hardware target country 2
Hardware target country 3
Length of Report Descriptor 1
Length of Report Descriptor 2
Length of Report Descriptor 3
2
bcdIrDA-ControlVersion
2
4
5
6
7
8
9
idClass_Descriptor_1
idClass_Descriptor_2
idClass_Descriptor_3
idClass_Descriptor_4
bmEndpoint_1
bmEndpoint_2
bmEndpoint_3
bLogDevPktSize_1
bmLogDevAttributes_1
bLogDevPktSize_2
bmLogDevAttributes_2
bLogDevPktSize_3
bmLogDevAttributes_3
bCountryCode_1
bCountryCode_2
bCountryCode_3
WDescriptorLength_1
WDescriptorLength_2
WDescriptorLength_3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
10
11
12
13
14
15
16
17
18
19
20
22
24