aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx2/usrp1/usrp_gpif_inline.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-05 19:55:19 -0700
committerJosh Blum <josh@joshknows.com>2010-11-05 19:55:19 -0700
commit13d735c65e40af23f978f96b5b418712976ab5f2 (patch)
tree020be6fd66df9a9d8ed9f328fa7c50713b6daa71 /firmware/fx2/usrp1/usrp_gpif_inline.h
parent9d50dea1c2f884835b606ccaa1444e5de96926cb (diff)
parentf740a51cc0737b07fd4906f8ca80683ec6e87faa (diff)
downloaduhd-13d735c65e40af23f978f96b5b418712976ab5f2.tar.gz
uhd-13d735c65e40af23f978f96b5b418712976ab5f2.tar.bz2
uhd-13d735c65e40af23f978f96b5b418712976ab5f2.zip
Merge branch 'mb_eeprom'
Diffstat (limited to 'firmware/fx2/usrp1/usrp_gpif_inline.h')
-rw-r--r--firmware/fx2/usrp1/usrp_gpif_inline.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/fx2/usrp1/usrp_gpif_inline.h b/firmware/fx2/usrp1/usrp_gpif_inline.h
new file mode 100644
index 000000000..77a741a8b
--- /dev/null
+++ b/firmware/fx2/usrp1/usrp_gpif_inline.h
@@ -0,0 +1,27 @@
+/*
+ * Machine generated by "edit-gpif". Do not edit by hand.
+ */
+
+#define setup_flowstate_common() \
+do { \
+ FLOWSTATE = 0x81; \
+ FLOWLOGIC = 0x2d; \
+ FLOWEQ0CTL = 0x26; \
+ FLOWEQ1CTL = 0x00; \
+ FLOWHOLDOFF = 0x04; \
+ FLOWSTB = 0x04; \
+ FLOWSTBEDGE = 0x03; \
+FLOWSTBHPERIOD = 0x02; \
+GPIFHOLDAMOUNT = 0x00; \
+} while (0)
+
+#define setup_flowstate_read() \
+do { \
+ FLOWEQ0CTL = 0x26; \
+} while (0)
+
+#define setup_flowstate_write() \
+do { \
+ FLOWEQ0CTL = 0x21; \
+} while (0)
+