From 40402fb8f5c1009b6fa205303c7a57b0ae918148 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Sat, 4 Apr 2009 05:59:44 +0000 Subject: 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 --- usrp2/host/lib/control.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'usrp2/host/lib/control.h') 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 */ -- cgit