USS-720

Preliminary User Guide, Rev. 2

USB Device Driver

February 1999

 

 

5 I/O Control Data Structures (continued)

5.3 REGISTER_1284

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

5.3.1 Data Structure

typedef struct _REGISTER_1284

{

UCHAR RegisterAddress; UCHAR DataRegister; UCHAR StatusRegister; UCHAR ControlRegister; UCHAR EppAddressRegister; UCHAR EppDataRegister; UCHAR EcpCommandRegister; UCHAR ExtendedControlRegister; UCHAR USS720ControlRegister

}

REGISTER_1284, *PREGISTER_1284;

5.3.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).

7-32

Lucent Technologies Inc.

Page 90
Image 90
Lucent Technologies USS-720 manual REGISTER1284, *PREGISTER1284