diff options
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
| -rw-r--r-- | host/lib/include/uhdlib/rfnoc/mb_iface.hpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/host/lib/include/uhdlib/rfnoc/mb_iface.hpp b/host/lib/include/uhdlib/rfnoc/mb_iface.hpp index 33a0e3df0..840fcf709 100644 --- a/host/lib/include/uhdlib/rfnoc/mb_iface.hpp +++ b/host/lib/include/uhdlib/rfnoc/mb_iface.hpp @@ -7,6 +7,7 @@  #ifndef INCLUDED_LIBUHD_MB_IFACE_HPP  #define INCLUDED_LIBUHD_MB_IFACE_HPP +#include <uhd/types/endianness.hpp>  #include <uhdlib/rfnoc/chdr_ctrl_xport.hpp>  #include <uhdlib/rfnoc/chdr_rx_data_xport.hpp>  #include <uhdlib/rfnoc/chdr_tx_data_xport.hpp> @@ -40,6 +41,14 @@ public:       */      virtual chdr_w_t get_chdr_w() = 0; +    /*! Return the endianness for the link associated with \p local_device_id +     * +     * When \p local_device_id is set to NULL_DEVICE_ID, it will return any +     * endianness associated with this device. +     */ +    virtual uhd::endianness_t get_endianness( +        const device_id_t local_device_id = NULL_DEVICE_ID) = 0; +      /*! Get the device ID assigned to the motherboard       *       * A freshly reset motherboard should return 0. | 
