|
GNU Radio's GNMAX2769 Package
|
#include "gnmax_defines.h"#include <unistd.h>#include <stdio.h>#include <errno.h>#include <string.h>#include <math.h>#include <libusb.h>Go to the source code of this file.
Classes | |
| class | gnmax |
Macros | |
| #define | RX_ENDPOINT (0x86) |
| #define | VRT_VENDOR_IN (0xC0) |
| #define | VRT_VENDOR_OUT (0x40) |
| #define | RX_INTERFACE (2) |
| #define | RX_ALTINTERFACE (0) |
| #define | VRQ_XFER (0x01) |
| #define | VRQ_ENABLE (0x10) |
| #define | VRQ_WRITE_CMD (0x20) |
| #define | VRQ_GET_STATUS (0x80) |
| #define | GS_RX_OVERRUN (1) |
| Returns 1 byte. More... | |
| #define | GN3S_VID (0x1781) |
| #define | GN3S_PID (0x0B3C) |
| #define | PROG_SET_CMD (0xE600) |
| #define | USB_BUFFER_SIZE (65536) |
| #define | USB_BLOCK_SIZE (512) |
| #define | USB_NBLOCKS (USB_BUFFER_SIZE / USB_BLOCK_SIZE) |
| #define | USB_NTRANSFERS (16) |
| #define | USB_TIMEOUT (1000) |
FILENAME: gnmax.h
DESCRIPTION: Defines the GN3S class.
DEVELOPERS: Gregory W. Heckler (2003-2009) Wojciech Kazubski (2019)
LICENSE TERMS: Copyright (c) Gregory W. Heckler 2009 Copyright (c) Wojciech Kazubski 2019
This file is based on gn3s.h file, a part of GN3S driver for gnss-sdr project
This file is part of the GPS Software Defined Radio (GPS-SDR)
The GPS-SDR is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GPS-SDR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Note: Comments within this file follow a syntax that is compatible with DOXYGEN and are utilized for automated document extraction
Reference:
| #define GN3S_PID (0x0B3C) |
| #define GN3S_VID (0x1781) |
| #define GS_RX_OVERRUN (1) |
Returns 1 byte.
| #define PROG_SET_CMD (0xE600) |
| #define RX_ALTINTERFACE (0) |
| #define RX_ENDPOINT (0x86) |
| #define RX_INTERFACE (2) |
| #define USB_BLOCK_SIZE (512) |
| #define USB_BUFFER_SIZE (65536) |
| #define USB_NBLOCKS (USB_BUFFER_SIZE / USB_BLOCK_SIZE) |
| #define USB_NTRANSFERS (16) |
| #define USB_TIMEOUT (1000) |
| #define VRQ_ENABLE (0x10) |
| #define VRQ_GET_STATUS (0x80) |
| #define VRQ_WRITE_CMD (0x20) |
| #define VRQ_XFER (0x01) |
| #define VRT_VENDOR_IN (0xC0) |
| #define VRT_VENDOR_OUT (0x40) |