nidas v1.2.3
|
#include <nidas/linux/types.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <errno.h>
#include <nidas/linux/util.h>
Go to the source code of this file.
Classes | |
struct | usb_twod_stats |
Statistics gathered by the PMS2D USB driver. More... | |
struct | _Tap2D_v1 |
Struct to adjust probe slice rate for true airspeed. More... | |
struct | _Tap2D_v2 |
This version is for rev2 of Spowarts USB board. More... | |
struct | _Tap2D_v3 |
Macros | |
#define | SOR_DEBUG |
#define | USB2D_IOC_MAGIC 0x2d |
#define | USB2D_SET_TAS _IOW(USB2D_IOC_MAGIC,0,Tap2D) |
#define | USB2D_SET_SOR_RATE _IOW(USB2D_IOC_MAGIC,1,int) |
#define | USB2D_GET_STATUS _IOR(USB2D_IOC_MAGIC,2,struct usb_twod_stats) |
#define | TWOD_IMG_TYPE 0 |
#define | TWOD_SOR_TYPE 1 |
#define | TWOD_SORv3_TYPE 0x534f522c /* "SOR," (actually ",ROS" on little endian) */ |
#define | TWOD_IMGv2_TYPE 2 |
#define | TWOD_IMGv3_TYPE 3 |
Typedefs | |
typedef struct _Tap2D_v1 | Tap2Dv1 |
Struct to adjust probe slice rate for true airspeed. | |
typedef struct _Tap2D_v2 | Tap2D |
This version is for rev2 of Spowarts USB board. | |
typedef struct _Tap2D_v3 | Tap2D_v3 |
#define SOR_DEBUG |
#define TWOD_IMG_TYPE 0 |
#define TWOD_IMGv2_TYPE 2 |
#define TWOD_IMGv3_TYPE 3 |
#define TWOD_SOR_TYPE 1 |
#define TWOD_SORv3_TYPE 0x534f522c /* "SOR," (actually ",ROS" on little endian) */ |
Referenced by nidas::dynld::raf::TwoD64_USB::process(), twod_read(), and twod_sor_rx_bulk_callback().
#define USB2D_GET_STATUS _IOR(USB2D_IOC_MAGIC,2,struct usb_twod_stats) |
Referenced by nidas::dynld::raf::TwoD_USB::printStatus(), and twod_ioctl().
#define USB2D_IOC_MAGIC 0x2d |
Referenced by twod_ioctl().
#define USB2D_SET_SOR_RATE _IOW(USB2D_IOC_MAGIC,1,int) |
Referenced by nidas::dynld::raf::TwoD_USB::open(), and twod_ioctl().
#define USB2D_SET_TAS _IOW(USB2D_IOC_MAGIC,0,Tap2D) |
Referenced by sendTAS(), nidas::dynld::raf::TwoD_USB::sendTrueAirspeed(), and twod_ioctl().
This version is for rev2 of Spowarts USB board.
Gives higher TAS resolution.
Struct to adjust probe slice rate for true airspeed.
True airspeed arrives at the sensor class which then converts it into this struct. It is then passed to the PMS2D USB driver and then on to the probe itself. This struct is also then recorded with each buffer that comes back from the probe.
This covers versions of the probe through June 22nd 2009. CJW.