Lucent Technologies USS-720 Computer Drive User Manual


 
Table of Contents
Contents Page
7-2 Lucent Technologies Inc.
USS-720 Preliminary User Guide, Rev. 2
USB Device Driver February 1999
1. Introduction ...................................................................................................................................................... 7-1
2. Initialization ...................................................................................................................................................... 7-3
3. I/O File Functions ............................................................................................................................................ 7-3
3.1. CreateFile............................................................................................................................................... 7-4
3.2. ReadFile ................................................................................................................................................. 7-5
3.3. WriteFile ................................................................................................................................................. 7-6
3.4. DeviceIoControl ...................................................................................................................................... 7-7
3.5. CloseHandle........................................................................................................................................... 7-8
4. I/O Control Codes ............................................................................................................................................ 7-9
4.1. IOCTL_1284_ ECP_FWDTOREV ........................................................................................................ 7-10
4.2. IOCTL_1284_ECP_REVTOFWD ......................................................................................................... 7-11
4.3. IOCTL_1284_ ECP_SET_CHANNEL .................................................................................................. 7-12
4.4. IOCTL_1284_ SET_MODE .................................................................................................................. 7-13
4.5. IOCTL_1284_ TERMINATE.................................................................................................................. 7-14
4.6. IOCTL_ABORT_PIPE........................................................................................................................... 7-15
4.7. IOCTL_CANCEL_PIPE_REQUEST..................................................................................................... 7-16
4.8. IOCTL_GET_1284_REGISTER ........................................................................................................... 7-17
4.9. IOCTL_GET_ALTSETTING.................................................................................................................. 7-18
4.10. IOCTL_GET_CAPABILITIES.............................................................................................................. 7-19
4.11. IOCTL_GET_CONFIGURATION_DESCRIPTOR .............................................................................. 7-20
4.12. IOCTL_GET_DEVICE_DESCRIPTOR............................................................................................... 7-21
4.13. IOCTL_GET_DEVICE_INSTANCES .................................................................................................. 7-22
4.14. IOCTL_GET_INTERFACE.................................................................................................................. 7-23
4.15. IOCTL_GET_PORT_STATUS ............................................................................................................ 7-24
4.16. IOCTL_ISSUE_USS720_COMMAND................................................................................................ 7-25
4.17. IOCTL_READ_INTERRUPT_PIPE .................................................................................................... 7-26
4.18. IOCTL_RESET_PIPE......................................................................................................................... 7-27
4.19. IOCTL_SET_1284_REGISTER.......................................................................................................... 7-28
4.20. IOCTL_SET_ALTSETTING ................................................................................................................ 7-29
4.21. IOCTL_SOFT_RESET ....................................................................................................................... 7-30
5. I/O Control Data Structures ........................................................................................................................... 7-31
5.1. DEVICE_INSTANCE_HEADER ........................................................................................................... 7-31
5.2. DEVICE_INSTANCE ............................................................................................................................ 7-31
5.3. REGISTER_1284 ................................................................................................................................. 7-32
5.4. ADVREGISTER_1284 .......................................................................................................................... 7-33