config.h

来自「STM32_fatfs_shell_SDHC.rar」· C头文件 代码 · 共 57 行

H
57
字号
/*--------------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 + =
减小字号Ctrl + -
显示快捷键?