kstars
ApnUsbSys.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #if !defined(_APNUSBSYS_H__INCLUDED_)
00010 #define _APNUSBSYS_H__INCLUDED_
00011
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015
00016
00017
00018 #define VND_ANCHOR_LOAD_INTERNAL 0xA0
00019
00020 #define VND_APOGEE_CMD_BASE 0xC0
00021 #define VND_APOGEE_STATUS ( VND_APOGEE_CMD_BASE + 0x0 )
00022 #define VND_APOGEE_CAMCON_REG ( VND_APOGEE_CMD_BASE + 0x2 )
00023 #define VND_APOGEE_BUFCON_REG ( VND_APOGEE_CMD_BASE + 0x3 )
00024 #define VND_APOGEE_SET_SERIAL ( VND_APOGEE_CMD_BASE + 0x4 )
00025 #define VND_APOGEE_SERIAL ( VND_APOGEE_CMD_BASE + 0x5 )
00026 #define VND_APOGEE_EEPROM ( VND_APOGEE_CMD_BASE + 0x6 )
00027 #define VND_APOGEE_SOFT_RESET ( VND_APOGEE_CMD_BASE + 0x8 )
00028 #define VND_APOGEE_GET_IMAGE ( VND_APOGEE_CMD_BASE + 0x9 )
00029 #define VND_APOGEE_STOP_IMAGE ( VND_APOGEE_CMD_BASE + 0xA )
00030
00031
00032 #define REQUEST_IN 0x1
00033 #define REQUEST_OUT 0x0
00034
00035
00036 typedef struct _APN_USB_REQUEST
00037 {
00038 unsigned char Request;
00039 unsigned char Direction;
00040 unsigned short Value;
00041 unsigned short Index;
00042 } APN_USB_REQUEST, *PAPN_USB_REQUEST;
00043
00044
00045
00046 #endif // !defined(_APNUSBSYS_H__INCLUDED_)