summaryrefslogtreecommitdiff
path: root/usrp2/host/lib/control.h
diff options
context:
space:
mode:
authorjcorgan2009-04-04 05:59:44 +0000
committerjcorgan2009-04-04 05:59:44 +0000
commit40402fb8f5c1009b6fa205303c7a57b0ae918148 (patch)
tree9faab37d57dc43f2e5c7a56ccec54926929a64c3 /usrp2/host/lib/control.h
parent0907e015a341269f1d9fdb556fcadd8c051c7f81 (diff)
downloadgnuradio-40402fb8f5c1009b6fa205303c7a57b0ae918148.tar.gz
gnuradio-40402fb8f5c1009b6fa205303c7a57b0ae918148.tar.bz2
gnuradio-40402fb8f5c1009b6fa205303c7a57b0ae918148.zip
Merged r10712:10765 from jcorgan/gpio into trunk. Adds out-of-band and streaming GPIO functions for USRP2.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10766 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/host/lib/control.h')
-rw-r--r--usrp2/host/lib/control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/usrp2/host/lib/control.h b/usrp2/host/lib/control.h
index 0e8fcfe57..9adc1618f 100644
--- a/usrp2/host/lib/control.h
+++ b/usrp2/host/lib/control.h
@@ -99,6 +99,18 @@ namespace usrp2 {
op_generic_t eop;
};
+ struct op_gpio_cmd {
+ u2_eth_packet_t h;
+ op_gpio_t op;
+ op_generic_t eop;
+ };
+
+ struct op_gpio_set_sels_cmd {
+ u2_eth_packet_t h;
+ op_gpio_set_sels_t op;
+ op_generic_t eop;
+ };
+
/*!
* Control mechanism to allow API calls to block waiting for reply packets
*/