main.h
来自「SD卡调试所用的资料」· C头文件 代码 · 共 53 行
H
53 行
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _MAIN_H
#define _MAIN_H
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_lib.h"
#include "user_uart.h"
#include "user_systick.h"
#include <string.h>
#include "InitFunc.h"
#include "sd_mmc_spi.h"
#include "partition.h"
#include "fat16.h"
#include "tft.h"
#include "bmp.h"
#include "func.h"
#include "font.h"
#ifndef True
#define True 1
#endif
#ifndef False
#define False 0
#endif
#ifndef On
#define On 0
#endif
#ifndef Off
#define Off 1
#endif
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
//计算代码运行耗费时间的计数器
extern vu32 ClickCounter;
void delay(void);
#endif /* _MAIN_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?