howto: implement dynamic versioning
[debian/gnuradio] / usrp / firmware / include / fpga_regs_common.h
index 3272fdf3dd0bd799e310a9f005bdb458b1ecec41..b4a496af755d5f7814ff8b51dd9fbf21d84b9a4d 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -16,8 +16,8 @@
  * 
  * You should have received a copy of the GNU General Public License
  * along with GNU Radio; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
  */
 #ifndef INCLUDED_FPGA_REGS_COMMON_H
 #define INCLUDED_FPGA_REGS_COMMON_H
@@ -32,8 +32,7 @@
 #define        FR_TX_SAMPLE_RATE_DIV    0
 #define        FR_RX_SAMPLE_RATE_DIV    1
 
-// 2 is available.
-// 3 is available.
+// 2 and 3 are defined in the ATR section
 
 #define        FR_MASTER_CTRL           4      // master enable and reset controls
 #  define  bmFR_MC_ENABLE_TX           (1 << 0)
 #define        FR_ATR_TXVAL_3          30
 #define FR_ATR_RXVAL_3         31
 
+// Clock ticks to delay rising and falling edge of T/R signal
+#define FR_ATR_TX_DELAY          2
+#define FR_ATR_RX_DELAY          3
+
 #endif /* INCLUDED_FPGA_REGS_COMMON_H */