diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch) | |
tree | d3bb9f5d25a2dc09ca81adecf39621d871534297 /kstars/kstars/indi/apogee/ApogeeIoctl.h | |
download | tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/indi/apogee/ApogeeIoctl.h')
-rw-r--r-- | kstars/kstars/indi/apogee/ApogeeIoctl.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kstars/kstars/indi/apogee/ApogeeIoctl.h b/kstars/kstars/indi/apogee/ApogeeIoctl.h new file mode 100644 index 00000000..ec0fc580 --- /dev/null +++ b/kstars/kstars/indi/apogee/ApogeeIoctl.h @@ -0,0 +1,40 @@ +// ApogeeIoctl.h Include file for I/O +// +// Copyright (c) 2000 Apogee Instruments Inc. +// +//Portions Copyright (c) 2000 The Random Factory. +// +// Define the IOCTL codes we will use. The IOCTL code contains a command +// identifier, plus other information about the device, the type of access +// with which the file must have been opened, and the type of buffering. +// + +extern unsigned short apogee_bit; +extern unsigned short apogee_word; +extern unsigned long apogee_long; +extern short apogee_signed; + + +// General Ioctl definitions for Apogee CCD device driver + +#define APOGEE_IOC_MAGIC 'j' +#define APOGEE_IOC_MAXNR 100 +#define APOGEE_IOCHARDRESET _IO(APOGEE_IOC_MAGIC,0) + + +// Read single word +#define IOCTL_GPD_READ_ISA_USHORT _IOR(APOGEE_IOC_MAGIC,1,apogee_word) + +// Write single word +#define IOCTL_GPD_WRITE_ISA_USHORT _IOW(APOGEE_IOC_MAGIC,2,apogee_word) + +// Read line from camera +#define IOCTL_GPD_READ_ISA_LINE _IOR(APOGEE_IOC_MAGIC,3,apogee_word) + +#define IOCTL_GPD_READ_PPI_USHORT _IOR(APOGEE_IOC_MAGIC,1,apogee_word) + +// Write single word +#define IOCTL_GPD_WRITE_PPI_USHORT _IOW(APOGEE_IOC_MAGIC,2,apogee_word) + +// Read line from camera +#define IOCTL_GPD_READ_PPI_LINE _IOR(APOGEE_IOC_MAGIC,3,apogee_word) |