aboutsummaryrefslogtreecommitdiffstats
path: root/include/usrp_uhd/usrp/dboard/id.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-29 00:24:15 -0800
committerJosh Blum <josh@joshknows.com>2010-01-29 00:24:15 -0800
commit30a8d2ecc36ce8ad6c01032e514ac66a277f06d0 (patch)
tree894b16a38d02c677ab2038932838064edc325ab4 /include/usrp_uhd/usrp/dboard/id.hpp
parentd5d9da3114bf069c05a8dcb7fca32ccd70405512 (diff)
downloaduhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.tar.gz
uhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.tar.bz2
uhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.zip
Added dboard id enum.
Moved timespec into its own header.
Diffstat (limited to 'include/usrp_uhd/usrp/dboard/id.hpp')
-rw-r--r--include/usrp_uhd/usrp/dboard/id.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/usrp_uhd/usrp/dboard/id.hpp b/include/usrp_uhd/usrp/dboard/id.hpp
new file mode 100644
index 000000000..b2dc7b7cf
--- /dev/null
+++ b/include/usrp_uhd/usrp/dboard/id.hpp
@@ -0,0 +1,21 @@
+//
+// Copyright 2010 Ettus Research LLC
+//
+
+#include <iostream>
+
+#ifndef INCLUDED_USRP_UHD_USRP_DBOARD_ID_HPP
+#define INCLUDED_USRP_UHD_USRP_DBOARD_ID_HPP
+
+namespace usrp_uhd{ namespace usrp{ namespace dboard{
+
+enum dboard_id_t{
+ ID_BASIC_TX = 0x0000,
+ ID_BASIC_RX = 0x0001
+};
+
+}}} //namespace
+
+std::ostream& operator<<(std::ostream &, const usrp_uhd::usrp::dboard::dboard_id_t &);
+
+#endif /* INCLUDED_USRP_UHD_USRP_DBOARD_ID_HPP */