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

📄 config.h

📁 STM32_fatfs_shell_SDHC.rar
💻 H
字号:
/*--------------File Info-------------------------------------------------------
 ** 文   件   名:  Config.h
 ** 最后修改日期:  2008.3.28
 ** 版        本:  V1.0
 ** 描        述:  配置文件、裁剪不需要的功能					
 **------------------------------------------------------------------------------
 ** Created   by:    		
 ** Created date:			
 *******************************************************************************/
#ifndef __Config_h
#define __Config_h
#include "stm32f10x_lib.h"
#include "stm32f10x_type.h"
#include "dataflash.h"
#include "integer.h"
#include "delay.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "ff.h"
#include "RTC_Time.h"
#include "stm32f10x_rcc.h"
#include "test.h"
#include "Serial.h"
#include "SerialProcess.h"
#include "shell.h"
#include "FATFS_cmds.h"
#include "SPI_MSD_Driver.h"
#include "diskio.h"


//#define printf printu


/**************全局变量************/
extern u8 TimeDisplay;
extern FATFS fs[2]; // Work area (file system object) for logical drive
extern FIL fsrc, fdst, fap, file, fii; // file objects
extern FRESULT res, re; // FatFs function common result code
extern UINT br, bw, bt;
; // File R/W count
extern FILINFO finfo, fno;
extern DIR dirs;
extern time_t current_time;
extern struct tm time_now;
extern u8 passwordflag;
extern u16 AD_value_mul4;
extern char machine[20];
extern u8 timeFirstSet;
extern char shellEnable;
#define UPDATESECONDS 3

extern u16 filter(void);

#endif

⌨️ 快捷键说明

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