kstars
ApogeeIoctl.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 extern unsigned short apogee_bit;
00013 extern unsigned short apogee_word;
00014 extern unsigned long apogee_long;
00015 extern short apogee_signed;
00016
00017
00018
00019
00020 #define APOGEE_IOC_MAGIC 'j'
00021 #define APOGEE_IOC_MAXNR 100
00022 #define APOGEE_IOCHARDRESET _IO(APOGEE_IOC_MAGIC,0)
00023
00024
00025
00026 #define IOCTL_GPD_READ_ISA_USHORT _IOR(APOGEE_IOC_MAGIC,1,apogee_word)
00027
00028
00029 #define IOCTL_GPD_WRITE_ISA_USHORT _IOW(APOGEE_IOC_MAGIC,2,apogee_word)
00030
00031
00032 #define IOCTL_GPD_READ_ISA_LINE _IOR(APOGEE_IOC_MAGIC,3,apogee_word)
00033
00034 #define IOCTL_GPD_READ_PPI_USHORT _IOR(APOGEE_IOC_MAGIC,1,apogee_word)
00035
00036
00037 #define IOCTL_GPD_WRITE_PPI_USHORT _IOW(APOGEE_IOC_MAGIC,2,apogee_word)
00038
00039
00040 #define IOCTL_GPD_READ_PPI_LINE _IOR(APOGEE_IOC_MAGIC,3,apogee_word)