aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-04-01 18:41:25 +0200
committerMartin Braun <martin.braun@ettus.com>2014-04-10 21:03:10 +0200
commit1621df26acf84f5fc0f594930ee793e94a9ed5eb (patch)
treec9e66d8ec93183349c9cfdb474310a5d25589ddb /host/lib/usrp/b200/b200_impl.hpp
parentd52f44904d275d301106c799056596e9105e7916 (diff)
downloaduhd-1621df26acf84f5fc0f594930ee793e94a9ed5eb.tar.gz
uhd-1621df26acf84f5fc0f594930ee793e94a9ed5eb.tar.bz2
uhd-1621df26acf84f5fc0f594930ee793e94a9ed5eb.zip
b200: Added max link rate info
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r--host/lib/usrp/b200/b200_impl.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp
index 7d98a8f8d..c3508c550 100644
--- a/host/lib/usrp/b200/b200_impl.hpp
+++ b/host/lib/usrp/b200/b200_impl.hpp
@@ -47,11 +47,13 @@
static const boost::uint8_t B200_FW_COMPAT_NUM_MAJOR = 0x04;
static const boost::uint8_t B200_FW_COMPAT_NUM_MINOR = 0x00;
static const boost::uint16_t B200_FPGA_COMPAT_NUM = 0x03;
-static const double B200_LINK_RATE_BPS = (5e9)/8; //practical link rate (5 Gbps)
static const double B200_BUS_CLOCK_RATE = 100e6;
static const double B200_DEFAULT_TICK_RATE = 32e6;
static const boost::uint32_t B200_GPSDO_ST_NONE = 0x83;
+static const size_t B200_MAX_RATE_USB2 = 32000000; // bytes/s
+static const size_t B200_MAX_RATE_USB3 = 500000000; // bytes/s
+
#define FLIP_SID(sid) (((sid)<<16)|((sid)>>16))
static const boost::uint32_t B200_CTRL0_MSG_SID = 0x00000010;