📄 common.h
字号:
/******************************************************************************
Copyright (c) 2003 MStar Semiconductor, Inc.
All rights reserved.
[Module Name]: Common.h
[Date]: 06-Nov-2003
[Comment]:
Common header file.
[Reversion History]:
*******************************************************************************/
#include "define.h"
#ifndef _COMMON_H_
#define _COMMON_H_
#ifdef _COMMON_C_
#define _COMMONDEC_
#else
#define _COMMONDEC_ extern
#endif
/////////////////////////////////////////////
// Common subroutines
/////////////////////////////////////////////
_COMMONDEC_ void Delay1ms(WORD wValue);
#ifdef DVDENABLE
_COMMONDEC_ void Delay10us(WORD wValue);
#endif
#define DELAY_MACHINE_CYCLE 12
#define DELAY_1MS_PERIOD ((MCU_XTAL_CLK_KHZ / MCU_MACHINE_CYCLE) / DELAY_MACHINE_CYCLE)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -