Lucent Technologies USS-720 manual USB-to- Ieee, Configuration Descriptor

Page 33

Preliminary Data Sheet, Rev. 5

USS-720

Instant USB

September 1999

USB-to-IEEE

1284 Bridge

 

 

 

USB Port (continued)

Configuration Descriptor

The USS-720 has one default configuration descriptor. This descriptor has one interface, which has three alternate settings. The three alternate settings and the endpoints that they support are shown in Table 4.

Table 4. Alternate Settings and Supported Endpoints

 

Endpoint

 

 

 

 

 

 

 

Interface

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alternate Setting 0

 

Alternate Setting 1

Alternate Setting 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control Pipe

 

Endpoint Number 0

 

Endpoint Number 0

Endpoint Number 0

 

 

 

 

 

8 bytes

 

 

 

8 bytes

 

8 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bulk Out Pipe

 

Endpoint Number 1

 

Endpoint Number 1

Endpoint Number 1

 

 

 

 

 

64 bytes

 

 

 

64 bytes

 

64 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bulk In Pipe

 

 

 

 

Endpoint Number 2

Endpoint Number 2

 

 

 

 

 

 

 

 

 

 

 

64 bytes

 

64 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Pipe

 

 

 

 

 

 

Endpoint Number 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5. Configuration Descriptor

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Offset

 

Field

 

Size

Value

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

0

 

bLength

 

Byte

0x09

 

Size of this descriptor in bytes.

 

 

 

 

 

 

 

 

 

1

bDescriptorType

 

Byte

0x02

 

Configuration descriptor type.

 

 

 

 

 

 

 

 

2

bTotalLength

 

Word

0x004E

Number of bytes in this configuration. This includes the configura-

 

 

 

 

 

 

 

 

 

 

tion descriptor plus all of the interface and endpoint descriptors.

 

 

 

 

 

 

 

 

 

4

bNumInterfaces

 

Byte

0x01

 

The USS-720 has one interface.

 

 

 

 

 

 

 

 

5

bConfigurationValue

Byte

0x01

 

Value to use as an argument to Set Configuration to select this con-

 

 

 

 

 

 

 

 

 

 

figuration.

 

 

 

 

 

 

 

 

 

 

 

 

 

6

iConfiguration

 

Byte

0x00

 

Index of string descriptor describing this configuration.

 

 

 

 

 

 

 

 

 

7

bmAttributes

 

Byte

0x80

 

Configuration characteristics:

 

 

 

 

 

 

 

 

 

 

Bit

Description

USS-720

 

 

 

 

 

 

 

 

 

 

7

Bus-powered.

Set.

 

 

 

 

 

 

 

 

 

 

6

Self-powered.

Cleared.

 

 

 

 

 

 

 

 

 

 

5

Remote wakeup.

Cleared.

 

 

 

 

 

 

 

 

 

 

4—0 Reserved, set to 0. Cleared.

 

 

 

 

 

 

 

 

 

8

MaxPower

 

Byte

0x31

 

Maximum power consumption of this configuration. Units are

 

 

 

 

 

 

 

 

 

 

mA * 2; therefore, the value 0x31 is equivalent to 98 mA.

Lucent Technologies Inc.

5-7

Image 33
Contents Information Manual, Rev September IntroductionTable of Contents September USB-to-IEEE Bridge Information Manual, Rev Evaluation Kit for USS-720USS-720 USB Device Driver Preliminary User Guide IOCTL1284 TerminateIOCTLSET1284REGISTER USS-720 USB Port Monitor Application Note Evaluation Kit Contents \SAMPLES Hardware RequirementsGetting Started Instructions OSR2.1 Cable Installation InstructionsWindows 98 Cable Installation Instructions Software UpdatesUSB Driver and Port Monitor Plug and PlayPort Creation Eeprom Lucent Technologies Inc In-System Design, Inc Lucent Technologies Microelectronics GroupUSB Applications Support September USS-720 Driver Software Object Code License Agreement Evaluation Kit SoftwareFebruary IntroductionLicensed Software USS-720 Software Use Agreement FebruaryFurnishing of Licensed Software OwnershipFebruary Software Use Agreement USS-720Agreement Prevails Warranty and IndemnityNothing Construed 04 ConfidentialityNonassignability PublicityAddresses IntegrationDisputes Applicable LawUSS720.SYS USS720.INFDocumentation USS-720 Software Use Agreement February Application Note, Rev February Software ComponentsCustomer-Defined Data Plug and Play Operation PnPPrinter Enumeration Installation Process Power ManagementOperating Systems Supported USB Hardware Types SupportedPrint Types Supported Printer Types SupportedFeatures Preliminary Data Sheet, Rev SeptemberDescription Table of Contents Preliminary Data Sheet, Rev USS-720 Pin InformationUSB-to-IEEE Parallel Port nSelectIn Signal Active-Low Parallel Port nAutoFd Signal Active-LowParallel Port nInit Signal Active-Low Parallel Port nAck Signal Active-LowUSB Port OverviewDevice Descriptor, Configurations, and Inter- faces Descriptor LocationsUSB-to- Ieee 1284 Bridge September Onboard Device DescriptorDevice Descriptor Offset Field Size Value Description Configuration Descriptor USB-to- IeeeBulk Out Endpoint Descriptor, I0A0E1 Interface DescriptorsSeptember USB-to-IEEE1284 Bridge Bulk Out Endpoint Descriptor, I0A1E1Bulk In Endpoint Descriptor, I0A1E2 Bulk Out Endpoint Descriptor, I0A2E1 Bulk In Endpoint Descriptor, I0A2E2Interrupt Endpoint Descriptor, I0A2E3 Pipes RequestsStandard Requests Get Port Status Data Bit Description Printer Class-Specific RequestsVendor-Specific Requests GET1284REGISTERSET1284REGISTER Register-Based Operation Ieee 1284 PortGET1284REGISTER Data Byte Register Data RegistersInterrupt Pipe Read Data Byte Register DataStatus Register Address Bit Symbol Default Bit Symbol Bit DescriptionParallel Port nFault Signal Reserved Access Default Bit Symbol Bit Description Control Register Address Bit SymbolParallel Port nInit Signal USB-to-IEEE1284 BridgeUSS-720Instant USB ECP Command Register Address Bit Symbol Access Mode20 Description Extended Control Register Address Bit SymbolUSS-720 Control Register Address Bit Symbol USS-720 Setup Register Address Bit Symbol Interrupts External Crystal Connection External Circuitry RequirementsHigh Drive Mode Filter Bypass ModeSelf-Powered Mode Absolute Maximum Ratings Parameter Symbol Min UnitParameter Symbol Test Conditions Min Typ Max Unit Electrical CharacteristicsCapacitance Values Parameter Unit Clklo ClkhiTiming Characteristics Setup and Hold Input Timing ParameterOutput Delay Timing Parameter Min Max Unit Ordering Information Outline DiagramPin Mqfp Device Code Package ComcodeApplication Note February Description Port ParallelBridging USB to Typical Circuit Showing USSLucent Technologies Inc Preliminary User Guide, Rev February Signal DirectionsIOCTL1284 Setmode O File Functions InitializationPreliminary User Guide, Rev USS-720 February USB Device DriverCreateFile ReadFile Error CodesWriteFile DeviceIoControl CloseHandle Control Code Description O Control CodesParameters IOCTL1284 EcpfwdtorevIOCTL1284ECPREVTOFWD IOCTL1284 Ecpsetchannel IOCTL1284 Setmode Register Mode DescriptionIOCTL1284 Terminate Value Description IoctlabortpipeBulkoutpipe BulkinpipeIoctlcancelpiperequest IOCTLGET1284REGISTER ALTINTERFACE0 IoctlgetaltsettingALTINTERFACE1 ALTINTERFACE2Ioctlgetcapabilities Ioctlgetconfigurationdescriptor Ioctlgetdevicedescriptor Ioctlgetdeviceinstances Ioctlgetinterface Bit Meaning IoctlgetportstatusCommand Description IOCTLISSUEUSS720COMMANDByte Description IoctlreadinterruptpipeIoctlresetpipe IOCTLSET1284REGISTER Ioctlsetaltsetting Ioctlsoftreset Deviceinstanceheader O Control Data StructuresDeviceinstance Data StructureREGISTER1284, *PREGISTER1284 REGISTER1284ADVREGISTER1284, *PADVREGISTER1284 ADVREGISTER1284Lucent Technologies Inc USS-720 USB Port Monitor Printer Cable with Instant USB USS-720 Application Note USB Port Monitor FebruaryW98USS720EvalKit2402.zip to download the installation files Software Installation InstructionsApplication Note June Click on Enter LibrarySeptember MN99-052CMPR-1 Replaces MN97-061CMPR-04