![]() |
SoDaRadio-12.2.0-cut_dependencies:6c82803
|
Transmit/Receive switch control for B200/B210 via the FX3 debug GPIO pins. More...
#include <B200Control.hxx>
Public Member Functions | |
| B200Control (uhd::usrp::multi_usrp::sptr usrp, int mboard=0) | |
| constructor | |
| bool | setTXOn () |
| activate external controls to enable transmit mode. | |
| bool | setTXOff () |
| activate external controls to disable transmit mode. | |
| bool | getTX () |
| report state of transmit-enable. | |
| bool | setBand (unsigned int band, bool state) |
| turn on/off signal path for selected band note that multiple bands can be enabled at one time(!) | |
| bool | getBand (unsigned int band) |
| query state of signal path for selected band | |
| Public Member Functions inherited from SoDa::USRPTRControl | |
| USRPTRControl () | |
| virtual bool | setServo (unsigned int servo_sel, double val) |
| set state of selected servo | |
Private Member Functions | |
| bool | sendCommand (const std::string &cmd, int retry_count) |
Private Attributes | |
| uhd::usrp::multi_usrp::sptr | usrp |
| int | mboard |
| SoDa_B200_type_t | B200_type |
| std::string | modelname |
Additional Inherited Members | |
| Static Public Member Functions inherited from SoDa::USRPTRControl | |
| static USRPTRControl * | makeUSRPTRControl (uhd::usrp::multi_usrp::sptr usrp, int mboard=0) |
| make the appropriate TR control widget given a pointer to a USRP device. | |
Transmit/Receive switch control for B200/B210 via the FX3 debug GPIO pins.
This module requires a special version of the B2x0 fpga firmware.
On TRANSMIT, pin 1 of J400 will be pulled HIGH. On RECEIVE pin 1 of J400 will be pulled LOW.
On TRANSMIT, pin 3 of J400 will be pulled LOW. On RECEIVE pin 1 of J400 will be pulled HIGH.
Definition at line 74 of file B200Control.hxx.
| SoDa::B200Control::B200Control | ( | uhd::usrp::multi_usrp::sptr | usrp, |
| int | mboard = 0 ) |
|
virtual |
query state of signal path for selected band
| band | band selector (typically index from 1...7) |
Reimplemented from SoDa::USRPTRControl.
|
virtual |
report state of transmit-enable.
Implements SoDa::USRPTRControl.
|
private |
|
virtual |
turn on/off signal path for selected band note that multiple bands can be enabled at one time(!)
| band | band selector (typically index from 1...7) |
| state | true to enable band, false otherwise. |
Reimplemented from SoDa::USRPTRControl.
|
virtual |
activate external controls to disable transmit mode.
Implements SoDa::USRPTRControl.
|
virtual |
activate external controls to enable transmit mode.
Implements SoDa::USRPTRControl.
|
private |
Definition at line 125 of file B200Control.hxx.
|
private |
Definition at line 124 of file B200Control.hxx.
Referenced by B200Control().
|
private |
Definition at line 126 of file B200Control.hxx.
|
private |
Definition at line 122 of file B200Control.hxx.
Referenced by B200Control().