timer.h

来自「一种51单片机嵌入式系统SMALL RTOS 51的应用」· C头文件 代码 · 共 28 行

H
28
字号
struct yeary
{
//	uchar   year     ;
//	uchar   month    ;
//	uchar   date     ;
	uchar   hour     ;
	uchar   minute   ;
	uchar   second ;
} ;
struct yeary idata year_table ;
void Soft_ClockInit()
{
//	year_table.year = 3 ;
//	year_table.month = 1 ;
//	year_table.date = 1 ;
	year_table.hour = 0 ;
	year_table.minute = 0 ;	
	year_table.second = 0 ;
}

uchar idata time_1sCounter ;
extern void time_init() ;

#include "extio.h"
#include "display.c"
#include "timer.c"
#include "public.c"

⌨️ 快捷键说明

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