uhd/host/include
Martin Braun 3da938f124 rfnoc: Add clock selection to blocks
During registration, blocks must now specify which clock they are using
for the timebase (i.e., for timed commands) and for the ctrlport (this
is used to determine the length of sleeps and polls). For example, the
X300 provides bus_clk and radio_clk; typically, the former is used for
the control port, and the latter for the timebase clock.
Another virtual clock is called "__graph__", and it means the clock is
derived from property propagation via the graph.

The actual clocks are provided by the mb_iface. It has two new API
calls: get_timebase_clock() and get_ctrlport_clock(), which take an
argument as to which clock exactly is requested. On block
initialization, those clock_iface objects are copied into the block
controller.

The get_tick_rate() API call for blocks now exclusively checks the
timebase clock_iface, and will no longer cache the current tick rate in
a separate _tick_rate member variable. Block controllers can't manually
modify the clock_iface, unless they also have access to the
mb_controller (like the radio block), and that mb_controller has
provided said access.

This commit also adds the clock selection API changes to the DDC block,
the Null block, and the default block.
2019-11-26 11:49:27 -08:00
..
uhd rfnoc: Add clock selection to blocks 2019-11-26 11:49:27 -08:00
CMakeLists.txt uhd: mpm: update all license header w/ "-or-later" 2019-03-08 00:43:07 +01:00
config.h.in cmake: Fix version numbering 2018-07-13 11:44:04 -07:00
uhd.h C: Add uhd_get_abi_string, uhd_get_version_string 2019-05-02 08:36:44 -07:00