Revision af0543a8 host/lib/usrp/dboard/db_dbsrx.cpp
| b/host/lib/usrp/dboard/db_dbsrx.cpp | ||
|---|---|---|
| 205 | 205 |
|
| 206 | 206 |
//set the gpio directions and atr controls (identically) |
| 207 | 207 |
this->get_iface()->set_pin_ctrl(dboard_iface::UNIT_RX, 0x0); // All unused in atr |
| 208 |
this->get_iface()->set_gpio_ddr(dboard_iface::UNIT_RX, 0x0); // All Inputs |
|
| 208 |
if (this->get_iface()->get_special_props().soft_clock_divider){
|
|
| 209 |
this->get_iface()->set_gpio_ddr(dboard_iface::UNIT_RX, 0x1); // GPIO0 is clock |
|
| 210 |
} |
|
| 211 |
else{
|
|
| 212 |
this->get_iface()->set_gpio_ddr(dboard_iface::UNIT_RX, 0x0); // All Inputs |
|
| 213 |
} |
|
| 209 | 214 |
|
| 210 | 215 |
//send initial register settings |
| 211 | 216 |
this->send_reg(0x0, 0x5); |
Also available in: Unified diff