X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=usrp%2Ffirmware%2Finclude%2Ffpga_regs_common.h;h=b4a496af755d5f7814ff8b51dd9fbf21d84b9a4d;hb=6d25197ffc623d113274a8c79a2fa4fa4244f10f;hp=3272fdf3dd0bd799e310a9f005bdb458b1ecec41;hpb=5d69a524f81f234b3fbc41d49ba18d6f6886baba;p=debian%2Fgnuradio diff --git a/usrp/firmware/include/fpga_regs_common.h b/usrp/firmware/include/fpga_regs_common.h index 3272fdf3..b4a496af 100644 --- a/usrp/firmware/include/fpga_regs_common.h +++ b/usrp/firmware/include/fpga_regs_common.h @@ -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) @@ -144,4 +143,8 @@ #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 */