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

📄 mcu.h

📁 MST726驱动TFT屏程序,源代码!很好的资料
💻 H
字号:
#ifndef _MCU_H_
#define _MCU_H_

#ifdef _MCU_C_
  #define _MCUDEC_
#else
  #define _MCUDEC_ extern
#endif

_MCUDEC_ bit g_bMcuUseNewClock;

_MCUDEC_ void Init_MCU(void);

typedef enum
{
	WatchDogTime_5S,
	WatchDogTime_500MS,
	WatchDogTime_NUMS
} EnuWatchDogTime;

#if(ENABLE_WATCH_DOG)
void McuWatchDogSetTimer(EnuWatchDogTime WatchDogType);
#endif

void WatchDogClear(void);

#if ENABLE_MCU_USE_INTERNAL_CLOCK
_MCUDEC_ void McuUseInternalClock(void);
#endif
_MCUDEC_ void Init_ExternalInterrupt(void);
_MCUDEC_ void Init_Timer(void);
_MCUDEC_ void Init_SerialPort(void);
_MCUDEC_ void Init_IOPorts(void);
#endif

⌨️ 快捷键说明

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