基础版本

This commit is contained in:
bathfire
2026-04-27 16:55:02 +08:00
commit 64b3e488da
269 changed files with 383851 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef __TIME_COUNT_H_
#define __TIME_COUNT_H_
/*H******************************************************************************
* NAME: time_count.h
*********************************************************************************/
//------------------------------------------------------------------------------
//-------------------------------------------------------------------------------
//------------------------------------------------------------------------------
typedef struct ///定时器结构体
{
u8 Init;
u8 ON_OFF; //到时标志
u8 Flag; //到时标志
u8 Cycle; //循环标志
u32 TimerCount; //计数值
u32 TimerCountMax; //计数值
}timer_TypeDef;
//变量声明
//******************************************************************************
//函数声明
extern void Timer_Init(void);
void Timer_NVIC_Configuration(void);
extern void SYSTimer_IRQHandler(void);
void delay(unsigned int Counter);
#endif