UHD I/O Pins

Hello,

I would like to control the io_rx[15 - 0] pins on the basic_rx
daugtherboard. I am able to set them as either input or output pins by
using
the set_pin_ctrl() function. I would like to input a signal into one of
these pins and be able to read the value. I have been reading the
different
daughterboard .cc files in the host directory, but I havent found any
code
that does this. I would greatly appreciate any help or advice on how to
do
this. Thank you for your time and help.

Sam

View this message in context:
http://old.nabble.com/UHD-I-O-Pins-tp34332005p34332005.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On 08/21/2012 03:45 PM, sibar002 wrote:

Hello,

I would like to control the io_rx[15 - 0] pins on the basic_rx
daugtherboard. I am able to set them as either input or output pins by using
the set_pin_ctrl() function. I would like to input a signal into one of

You will need to set GPIO input
http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1dboard__iface.html#a377aa6291e0a77cbdf74c58762799c73

And call read gpio:
http://files.ettus.com/uhd_docs/doxygen/html/classuhd_1_1usrp_1_1dboard__iface.html#ad623a6a90d91eb4e0e047b9da56d1a98