config.c
来自「该软件为在sunplus的61单片机上实现的mp3播放器.里面有完整的源代码.」· C语言 代码 · 共 25 行
C
25 行
#include "config.h"
const NF_CONFIG nfConfig = {
0x00, //nfType (0)
0x10, //nfSize (16)
0x02, //nfZoneMax (1)
0x00007cff, //nfSectorSize(31999)
0x03 //nfCycleAddr (3Cycle)
};
//(volatile unsigned int *)0xff00 =
/* nb_cylinder, nb_head, nb_sector, nb_hidden, nb_sector_per_cluster */
//{ (Uint16)500, (Byte)4, (Byte)16, (Byte)57, (Byte)32 }, /* 16MB */
//{ (Uint16)500, (Byte)8, (Byte)16, (Byte)51, (Byte)32 }, /* 32MB */
//{ (Uint16)500, (Byte)8, (Byte)32, (Byte)39, (Byte)32 }, /* 64MB */
//{ (Uint16)500, (Byte)16, (Byte)32, (Byte)63, (Byte)32 }, /* 128MB */
const FORMAT_NB formatNB = {
500, //nbCylinder
4, //nbHead
16, //nbSector
57, //nbHiddenSector
32 //nbSectorPerCluster
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?