diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-14 15:01:15 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-14 15:01:15 -0800 |
commit | 1463a78fd2ebac1985182dede9c3ec1af11a3799 (patch) | |
tree | fcf1b8d416f3e2ab99b08e82ed761a67e4a9c097 /host/lib/usrp/common/fx2_ctrl.hpp | |
parent | 8bd255c5f6ed586603727ffaa56d1eeb325458af (diff) | |
download | uhd-1463a78fd2ebac1985182dede9c3ec1af11a3799.tar.gz uhd-1463a78fd2ebac1985182dede9c3ec1af11a3799.tar.bz2 uhd-1463a78fd2ebac1985182dede9c3ec1af11a3799.zip |
b100: reset/reenumerate fx2 for bad endpoint state
Determine state of control endpoint,
re-enumerate to put in a known state,
rerun some initialization code.
Diffstat (limited to 'host/lib/usrp/common/fx2_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/common/fx2_ctrl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/common/fx2_ctrl.hpp b/host/lib/usrp/common/fx2_ctrl.hpp index 5e28e8081..f2e060862 100644 --- a/host/lib/usrp/common/fx2_ctrl.hpp +++ b/host/lib/usrp/common/fx2_ctrl.hpp @@ -39,6 +39,9 @@ public: //! Call init after the fpga is loaded virtual void usrp_init(void) = 0; + //! For emergency situations + virtual void usrp_fx2_reset(void) = 0; + /*! * Load firmware in Intel HEX Format onto device * \param filename name of firmware file |