discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] UHD I/O Pins


From: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD I/O Pins
Date: Tue, 21 Aug 2012 16:09:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0


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

> 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
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]