Lucent Technologies USS-720 manual ADVREGISTER1284, *PADVREGISTER1284

Page 91

Preliminary User Guide, Rev. 2

USS-720

February 1999

USB Device Driver

 

 

5 I/O Control Data Structures (continued)

5.4 ADVREGISTER_1284

The ADVREGISTER_1284 structure is used when issuing the IOCTL_GET_1284_REGISTER control code.

5.4.1 Data Structure

typedef struct _ADVREGISTER_1284

{

UCHAR RegisterAddress; UCHAR DataRegister; UCHAR StatusRegister; UCHAR ControlRegister; UCHAR EppAddressRegister; UCHAR EppDataRegister; UCHAR EcpCommandRegister; UCHAR ExtendedControlRegister; UCHAR USS720ControlRegister; UCHAR USS720SetupRegister; UCHAR Reserved[10];

}

ADVREGISTER_1284, *PADVREGISTER_1284;

5.4.2 Members

RegisterIndex—Address of the parallel port register.

DataRegister—Data Register value (see Data Register table in Lucent Technologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

StatusRegister—Status Register value (see Status Register table in Lucent Technologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

ControlRegister—Control Register value (see Control Register table in Lucent Technologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

EppAddressRegister—EPP Address Register value (see EPP Address Register table in Lucent Technologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

EppDataRegister—EPP Data Register value (see EPP Data Register table in Lucent Technologies USS-720 USB- to-IEEE 1284 Bridge Preliminary Data Sheet for details).

EcpCommandRegister—ECP Command Register value (see ECP Command Register table in Lucent Technolo- gies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

ExtendedControlRegister—Extended Control Register value (see Extended Control Register table in Lucent Tech- nologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

USS720ControlRegister—USS-720 Control Register value (see USS-720 Control Register table in Lucent Tech- nologies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

USS720SetupRegister—USS-720 Setup Register value (see USS-720 Setup Register table in Lucent Technolo- gies USS-720USB-to-IEEE 1284 Bridge Preliminary Data Sheet for details).

Reserved—Reserved for future use.

Lucent Technologies Inc.

7-33

Image 91
Contents Information Manual, Rev September IntroductionTable of Contents September USB-to-IEEE Bridge Information Manual, Rev Evaluation Kit for USS-720IOCTL1284 Terminate USS-720 USB Device Driver Preliminary User GuideIOCTLSET1284REGISTER 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 UpdatesPlug and Play USB Driver and Port MonitorPort Creation Eeprom Lucent Technologies Inc In-System Design, Inc Lucent Technologies Microelectronics GroupUSB Applications Support September Introduction Evaluation Kit SoftwareUSS-720 Driver Software Object Code License Agreement FebruaryOwnership USS-720 Software Use Agreement FebruaryLicensed Software Furnishing of Licensed SoftwareFebruary Software Use Agreement USS-72004 Confidentiality Warranty and IndemnityAgreement Prevails Nothing ConstruedIntegration PublicityNonassignability AddressesDisputes Applicable LawUSS720.INF USS720.SYSDocumentation USS-720 Software Use Agreement February Application Note, Rev February Software ComponentsPlug and Play Operation PnP Customer-Defined DataPrinter Enumeration USB Hardware Types Supported Power ManagementInstallation Process Operating Systems SupportedPrint Types Supported Printer Types SupportedPreliminary Data Sheet, Rev September FeaturesDescription Table of Contents Pin Information Preliminary Data Sheet, Rev USS-720USB-to-IEEE Parallel Port nAck Signal Active-Low Parallel Port nAutoFd Signal Active-LowParallel Port nSelectIn Signal Active-Low Parallel Port nInit Signal Active-LowDescriptor Locations OverviewUSB Port Device Descriptor, Configurations, and Inter- facesOnboard Device Descriptor USB-to- Ieee 1284 Bridge SeptemberDevice Descriptor Offset Field Size Value Description Configuration Descriptor USB-to- IeeeBulk Out Endpoint Descriptor, I0A0E1 Interface DescriptorsBulk Out Endpoint Descriptor, I0A1E1 September USB-to-IEEE1284 BridgeBulk In Endpoint Descriptor, I0A1E2 Bulk In Endpoint Descriptor, I0A2E2 Bulk Out Endpoint Descriptor, I0A2E1Interrupt Endpoint Descriptor, I0A2E3 Requests PipesStandard Requests Get Port Status Data Bit Description Printer Class-Specific RequestsGET1284REGISTER Vendor-Specific RequestsSET1284REGISTER Register-Based Operation Ieee 1284 PortByte Register Data RegistersGET1284REGISTER Data Byte Register Data Interrupt Pipe Read DataDefault Bit Symbol Bit Description Status Register Address Bit SymbolParallel Port nFault Signal Reserved USB-to-IEEE1284 Bridge Control Register Address Bit SymbolAccess Default Bit Symbol Bit Description Parallel Port nInit SignalUSS-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 RequirementsAbsolute Maximum Ratings Parameter Symbol Min Unit Filter Bypass ModeHigh Drive Mode Self-Powered ModeClklo Clkhi Electrical CharacteristicsParameter Symbol Test Conditions Min Typ Max Unit Capacitance Values Parameter UnitSetup and Hold Input Timing Parameter Timing CharacteristicsOutput Delay Timing Parameter Min Max Unit Device Code Package Comcode Outline DiagramOrdering Information Pin MqfpApplication Note February Description USS ParallelPort Bridging USB to Typical Circuit ShowingLucent Technologies Inc Preliminary User Guide, Rev February Signal DirectionsIOCTL1284 Setmode USB Device Driver InitializationO File Functions Preliminary User Guide, Rev USS-720 FebruaryCreateFile ReadFile Error CodesWriteFile DeviceIoControl CloseHandle Control Code Description O Control CodesParameters IOCTL1284 EcpfwdtorevIOCTL1284ECPREVTOFWD IOCTL1284 Ecpsetchannel IOCTL1284 Setmode Register Mode DescriptionIOCTL1284 Terminate Bulkinpipe IoctlabortpipeValue Description BulkoutpipeIoctlcancelpiperequest IOCTLGET1284REGISTER ALTINTERFACE2 IoctlgetaltsettingALTINTERFACE0 ALTINTERFACE1Ioctlgetcapabilities Ioctlgetconfigurationdescriptor Ioctlgetdevicedescriptor Ioctlgetdeviceinstances Ioctlgetinterface Bit Meaning IoctlgetportstatusCommand Description IOCTLISSUEUSS720COMMANDByte Description IoctlreadinterruptpipeIoctlresetpipe IOCTLSET1284REGISTER Ioctlsetaltsetting Ioctlsoftreset Data Structure O Control Data StructuresDeviceinstanceheader DeviceinstanceREGISTER1284, *PREGISTER1284 REGISTER1284ADVREGISTER1284, *PADVREGISTER1284 ADVREGISTER1284Lucent Technologies Inc USS-720 USB Port Monitor Printer Cable with Instant USB USS-720 Application Note USB Port Monitor FebruaryClick on Enter Library Software Installation InstructionsW98USS720EvalKit2402.zip to download the installation files Application Note JuneSeptember MN99-052CMPR-1 Replaces MN97-061CMPR-04