aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/coding.dox
blob: aab495c254e9f0d297da242fa86668edbc636201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*! \page page_coding Coding to the API

\tableofcontents

\section coding_api Various API interfaces

\subsection coding_api_hilevel High-Level: The Multi-USRP

The Multi-USRP class provides a high-level interface to a single USRP device
with one or more channels, or multiple USRP devices in a homogeneous
setup. See the documentation for uhd::usrp::multi_usrp.

\subsection coding_api_hilevelclock High-Level: The Multi-USRP-Clock

The Multi-USRP-Clock class provides a high-level interface to a single clock
device or set of clock devices, from which the time can be queried. See the
documentation for uhd::usrp_clock::multi_usrp_clock.

\subsection coding_api_hilevelc High-Level: The C API

Both USRP and clock devices can be interacted with using a C API wrapper included
by default in all UHD builds. More information can be found \subpage page_c_api "here".

\subsection coding_api_lowlevel Low-Level: The device API

A device is an abstraction for hardware that is connected to the host
system. For a USRP device, this means that the motherboard and
everything on it would be considered to be a "device". For a clock device, the
device itself would be considered a "device" in software. The device API
provides ways to:

-   Discover devices that are physically connected to the host system.
-   Create a device object for a particular 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.
-   Access various sensors on the device.

See the documentation for uhd::device.

*/
// vim:ft=doxygen: