aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mboard/usrp2/fw_common.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-19 16:22:25 -0800
committerJosh Blum <josh@joshknows.com>2010-02-19 16:22:25 -0800
commitea9d55b17b181495b4217c222bbf1b77519a802e (patch)
treee66e7fb9f311b46b4e66a9949b625041e9691c29 /host/lib/usrp/mboard/usrp2/fw_common.h
parent186468252d9435ccd4f0d26a1a50dcaff1c6d4ed (diff)
downloaduhd-ea9d55b17b181495b4217c222bbf1b77519a802e.tar.gz
uhd-ea9d55b17b181495b4217c222bbf1b77519a802e.tar.bz2
uhd-ea9d55b17b181495b4217c222bbf1b77519a802e.zip
DUC and DDC control packets OTW
Diffstat (limited to 'host/lib/usrp/mboard/usrp2/fw_common.h')
-rw-r--r--host/lib/usrp/mboard/usrp2/fw_common.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/host/lib/usrp/mboard/usrp2/fw_common.h b/host/lib/usrp/mboard/usrp2/fw_common.h
index ede19d45f..d3ffbf7d5 100644
--- a/host/lib/usrp/mboard/usrp2/fw_common.h
+++ b/host/lib/usrp/mboard/usrp2/fw_common.h
@@ -78,6 +78,12 @@ typedef enum{
USRP2_CTRL_ID_READ_FROM_THIS_AUX_ADC_BRO,
USRP2_CTRL_ID_DONE_WITH_THAT_AUX_ADC_DUDE,
+ USRP2_CTRL_ID_SETUP_THIS_DDC_FOR_ME_BRO,
+ USRP2_CTRL_ID_TOTALLY_SETUP_THE_DDC_DUDE,
+
+ USRP2_CTRL_ID_SETUP_THIS_DUC_FOR_ME_BRO,
+ USRP2_CTRL_ID_TOTALLY_SETUP_THE_DUC_DUDE,
+
USRP2_CTRL_ID_PEACE_OUT
} usrp2_ctrl_id_t;
@@ -156,6 +162,21 @@ typedef struct{
uint8_t _pad[2];
uint32_t value;
} aux_args;
+ struct {
+ uint32_t freq_word;
+ uint32_t decim;
+ } ddc_args;
+ struct {
+ uint8_t enabled;
+ uint8_t _pad[3];
+ uint32_t secs;
+ uint32_t ticks;
+ } streaming;
+ struct {
+ uint32_t freq_word;
+ uint32_t interp;
+ uint32_t scale_iq;
+ } duc_args;
} data;
} usrp2_ctrl_data_t;