Revision b22c32bd
| b/firmware/zpu/apps/txrx_uhd.c | ||
|---|---|---|
| 1 | 1 |
/* |
| 2 |
* Copyright 2010-2011 Ettus Research LLC
|
|
| 2 |
* Copyright 2010-2012 Ettus Research LLC
|
|
| 3 | 3 |
* |
| 4 | 4 |
* This program is free software: you can redistribute it and/or modify |
| 5 | 5 |
* it under the terms of the GNU General Public License as published by |
| ... | ... | |
| 56 | 56 |
case USRP2_UDP_RX_DSP0_PORT: |
| 57 | 57 |
//reset dsp to stop streaming |
| 58 | 58 |
sr_rx_ctrl0->clear = 1; |
| 59 |
fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock |
|
| 59 | 60 |
return; |
| 60 | 61 |
|
| 61 | 62 |
case USRP2_UDP_RX_DSP1_PORT: |
| 62 | 63 |
//reset dsp to stop streaming |
| 63 | 64 |
sr_rx_ctrl1->clear = 1; |
| 65 |
fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock |
|
| 64 | 66 |
return; |
| 65 | 67 |
|
| 66 | 68 |
case USRP2_UDP_TX_DSP0_PORT: |
| 67 | 69 |
//end async update packets per second |
| 68 | 70 |
sr_tx_ctrl->cyc_per_up = 0; |
| 71 |
fw_regs[U2_FW_REG_LOCK_TIME] = 0; //force an unlock |
|
| 69 | 72 |
return; |
| 70 | 73 |
|
| 71 | 74 |
default: return; |
Also available in: Unified diff