⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.h

📁 ide的低层驱动程序。一个工程(cpld+dsp)的一部分。
💻 H
字号:
#include "cdefBF533.h"
#include "ccblkfn.h"
#include "sys/exception.h"
#include "sysreg.h"
#include "string.h"

#define uchar   unsigned char
#define ushort  unsigned short
#define uint	unsigned int
#define ulong	unsigned long

#include "Cpld.h"
#include "GeneralFunc.h"
#include "Init.h"
#include "IDE.h"

#define Stop_S_Config	0x0009	//停止模式,无中断,32位传输模式,1维,启动
#define Stop_D_Config	0x000b

#define Stop_S_Config_16	0x0004	//停止模式,无中断,16位传输模式,1维,没有启动
#define Stop_D_Config_16	0x0006

#define Stop_S_Config_16_I	0x00a4	//停止模式,有中断,16位传输模式,1维,没有启动
#define Stop_D_Config_16_I	0x00a6

#define Array_S_Config 0x4709   //无中断,32位传输,1维
#define Array_D_Config 0x470b

#define Array_S_Config_1 0x47a9  //D0有中断,32位传输,1维
#define Array_D_Config_1 0x47ab


#define Array_S_Config_q 0x4309
#define Array_D_Config_q 0x430b

#define X_Count 0x40
#define X_Modify 0x4

#define Y_Count 0x8
#define Y_Modify 0x4




#define DelayValue 10000000		//?????
#define ShortDelayValue 10000










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -