📄 _fat.def
字号:
#ifndef _FAT16_DEF_
// Define FAT16_DYNAMIC_MEM to use malloc for allocating
// FILE structure space. uncomment all three lines
//#define FAT16_DYNAMIC_MEM
//#define FAT16_malloc malloc
//#define FAT16_free
// The FAT16_MAX_FILES_OPEN #define is only applicable when Dynamic
// memeory allocation is not used (FAT16_DYNAMIC_MEM not defined).
// Defines how many concurent open files can exist at the same time.
// Takes up static memory. If you do not need to open more than one
// file at the same time, then you should set this to 1 to reduce
// memory usage
#define FAT16_MAX_FILES_OPEN 2
// Select appropriate media interface port based on your hardware.
//#define FAT_MEDIA_IF_SPI
#define FAT_MEDIA_IF_SPI1
//#define FAT_MEDIA_IF_SPI2
// Define the system clock speed
#define SYSTEM_CLOCK (DWORD)4000000
// Defines an output to a status LED that will blink when a read or write is in progress
#if 0
#define STATUSLED
#define STLED PORTDbits.RD0
#define STTRIS TRISDbits.TRISD0
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -