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

Page 91
Image 91
Lucent Technologies USS-720 manual ADVREGISTER1284, *PADVREGISTER1284