extern DWORD BigBuf[];\r
\r
/// fpga.c\r
+void FpgaSendCommand(WORD cmd, WORD v);\r
void FpgaWriteConfWord(BYTE v);\r
void FpgaDownloadAndGo(void);\r
void FpgaSetupSsc(void);\r
void FpgaSetupSscDma(BYTE *buf, int len);\r
void SetAdcMuxFor(int whichGpio);\r
\r
+// Definitions for the FPGA commands.\r
+#define FPGA_CMD_SET_CONFREG (1<<12)\r
+#define FPGA_CMD_SET_DIVISOR (2<<12)\r
// Definitions for the FPGA configuration word.\r
#define FPGA_MAJOR_MODE_LF_READER (0<<5)\r
#define FPGA_MAJOR_MODE_LF_SIMULATOR (1<<5)\r