Revision c9569736 host/lib/usrp/usrp1/clock_ctrl.hpp

b/host/lib/usrp/usrp1/clock_ctrl.hpp
45 45
     */
46 46
    virtual double get_master_clock_freq(void) = 0;
47 47

  
48
    /*!
49
     * Get the possible rates of the rx dboard clock.
50
     * \return a vector of clock rates in Hz
51
     */
52
    virtual std::vector<double> get_rx_dboard_clock_rates(void) = 0;
53

  
54
    /*!
55
     * Get the possible rates of the tx dboard clock.
56
     * \return a vector of clock rates in Hz
57
     */
58
    virtual std::vector<double> get_tx_dboard_clock_rates(void) = 0;
59

  
60
    /*!
61
     * Set the rx dboard clock rate to a possible rate.
62
     * \param rate the new clock rate in Hz
63
     * \throw exception when rate cannot be achieved
64
     */
65
    virtual void set_rx_dboard_clock_rate(double rate) = 0;
66

  
67
    /*!
68
     * Set the tx dboard clock rate to a possible rate.
69
     * \param rate the new clock rate in Hz
70
     * \throw exception when rate cannot be achieved
71
     */
72
    virtual void set_tx_dboard_clock_rate(double rate) = 0;
73

  
74
    /*!
75
     * Enable/disable the rx dboard clock.
76
     * \param enb true to enable
77
     */
78
    virtual void enable_rx_dboard_clock(bool enb) = 0;
79

  
80
    /*!
81
     * Enable/disable the tx dboard clock.
82
     * \param enb true to enable
83
     */
84
    virtual void enable_tx_dboard_clock(bool enb) = 0;
85

  
86 48
};
87 49

  
88 50
#endif /* INCLUDED_USRP1_CLOCK_CTRL_HPP */

Also available in: Unified diff