#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