config.h

来自「该软件为在sunplus的61单片机上实现的mp3播放器.里面有完整的源代码.」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef	__CONFIG_h__
#define	__CONFIG_h__
//	write your header here
// Type 16M For define

#define NF_TYPE               (Byte)(0)
#define NF_SIZE               (Byte)(16)
#define NF_ZONE_MAX           (Byte)(1)
#define NF_SECTOR_SIZE        (Uint32)(31999)
#define NF_4_CYCLE_ADDRESS    (3)

typedef struct{
	unsigned char nfType;
	unsigned char nfSize;
	unsigned char nfZoneMax;
	unsigned long int nfSectorSize;
	unsigned char nfCycleAddr;
} NF_CONFIG;

typedef struct{
	unsigned int nbCylinder;
	unsigned int nbHead;
	unsigned int nbSector;
	unsigned int nbHiddenSector;
	unsigned int nbSectorPerCluster; 
} FORMAT_NB;

#endif

⌨️ 快捷键说明

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