moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kstars / kstars / indi / apogee / ApnUsbSys.h
blob6016c9f6bc811665be5818cce1b2f26083113a10
1 // ApnUsbSys.h
2 //
3 // Copyright (c) 2003, 2004 Apogee Instruments, Inc.
4 //
5 // Defines common data structure(s) for sharing between application
6 // layer and the ApUSB.sys device driver.
7 //
9 #if !defined(_APNUSBSYS_H__INCLUDED_)
10 #define _APNUSBSYS_H__INCLUDED_
12 #if _MSC_VER > 1000
13 #pragma once
14 #endif // _MSC_VER > 1000
18 #define VND_ANCHOR_LOAD_INTERNAL 0xA0
20 #define VND_APOGEE_CMD_BASE 0xC0
21 #define VND_APOGEE_STATUS ( VND_APOGEE_CMD_BASE + 0x0 )
22 #define VND_APOGEE_CAMCON_REG ( VND_APOGEE_CMD_BASE + 0x2 )
23 #define VND_APOGEE_BUFCON_REG ( VND_APOGEE_CMD_BASE + 0x3 )
24 #define VND_APOGEE_SET_SERIAL ( VND_APOGEE_CMD_BASE + 0x4 )
25 #define VND_APOGEE_SERIAL ( VND_APOGEE_CMD_BASE + 0x5 )
26 #define VND_APOGEE_EEPROM ( VND_APOGEE_CMD_BASE + 0x6 )
27 #define VND_APOGEE_SOFT_RESET ( VND_APOGEE_CMD_BASE + 0x8 )
28 #define VND_APOGEE_GET_IMAGE ( VND_APOGEE_CMD_BASE + 0x9 )
29 #define VND_APOGEE_STOP_IMAGE ( VND_APOGEE_CMD_BASE + 0xA )
32 #define REQUEST_IN 0x1
33 #define REQUEST_OUT 0x0
36 typedef struct _APN_USB_REQUEST
38 unsigned char Request;
39 unsigned char Direction;
40 unsigned short Value;
41 unsigned short Index;
42 } APN_USB_REQUEST, *PAPN_USB_REQUEST;
46 #endif // !defined(_APNUSBSYS_H__INCLUDED_)