2010-04-20 23:18:39 +00:00
|
|
|
========================================================================
|
|
|
|
|
UHD - Coding to the API
|
|
|
|
|
========================================================================
|
|
|
|
|
|
|
|
|
|
.. contents:: Table of Contents
|
|
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
2010-07-03 18:19:14 +00:00
|
|
|
Various API interfaces
|
2010-04-20 23:18:39 +00:00
|
|
|
------------------------------------------------------------------------
|
2010-07-03 18:19:14 +00:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
Low-Level: The device API
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2010-04-20 23:18:39 +00:00
|
|
|
A device is an abstraction for hardware that is connected to the host system.
|
|
|
|
|
For a USRP, this means that the motherboard and everything on it would be considered to be a "device".
|
|
|
|
|
The device API provides ways to:
|
|
|
|
|
|
|
|
|
|
* Discover devices that are physical connected to the host system.
|
|
|
|
|
* Create a device object for a particular physical device identified by address.
|
|
|
|
|
* Register a device driver into the discovery and factory sub-system.
|
|
|
|
|
* Streaming samples with metadata into and out of the device.
|
|
|
|
|
* Set and get properties on the device object.
|
|
|
|
|
|
2010-07-03 18:19:14 +00:00
|
|
|
See the documentation in *device.hpp* for reference.
|
2010-04-20 23:18:39 +00:00
|
|
|
|
2010-07-03 18:19:14 +00:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2010-10-20 05:05:03 +00:00
|
|
|
High-Level: The multi usrp
|
2010-07-03 18:19:14 +00:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2011-01-27 23:24:47 +00:00
|
|
|
The Multi-USRP class provides a FAT interface to a single USRP with
|
|
|
|
|
one or more channels, or multiple USRPs in a homogeneous setup.
|
2010-10-20 05:05:03 +00:00
|
|
|
See the documentation in *usrp/multi_usrp.hpp* for reference.
|