📄 fpga_config.h.svn-base
字号:
/****************************************************************************
文件名称:fpga_config.h
版本号: 1.0
日期: 2006-5-10
说明: fpga_config的头文件,包含配置FPGA EP1C12Q2408相关的函数的声明。
调用列表:--
修改历史:--
****************************************************************************/
#ifndef __FPGA_CONFIG_H__
#define __FPGA_CONFIG_H__
#include "44b.h"
#define FERROR 0
#define FOK 1
#define FDELAY 0
#define NSTATUS ((rPDATF & ((unsigned)0x1<<8))>>8)
#define CONF_DONE ((rPDATF & ((unsigned)0x1<<5))>>5)
#define NCONFIG1 (rPDATF = rPDATF | ((unsigned)0x1<<7))
#define NCONFIG0 (rPDATF = rPDATF & ~((unsigned)0x1<<7))
#define DCLK1 (rPDATF = rPDATF | ((unsigned)0x1<<6))
#define DCLK0 (rPDATF = rPDATF & ~((unsigned)0x1<<6))
#define DATA01 (rPDATF = rPDATF | ((unsigned)0x1<<1))
#define DATA00 (rPDATF = rPDATF & ~((unsigned)0x1<<1))
#define FPGA_ADD 0x001a0000
#define FPGA_LEN 0x00046e65
int FConfig(void);
#endif //__FPGA_CONFIG_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -