You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
495 B

1 year ago
#ifndef _TTSS_time_stc_
#define _TTSS_time_stc_
#include "bsp_config.h"
#include "TTSS_tick.h"
extern void L0_timer0_Init(void);
extern void L0_timer0_Init_32k(void) ;
extern void L0_timer4_Init(void);
#define L0_timer0_open(x) TR0 = x //
// 他和t_10ms 关联,如果t_10ms递增为1时间隔为(D_TIMER0_10MS_COUNT*定时器间隔)
//#define D_TIMER0_10MS_COUNT 1 //定时器为 10ms一中断
#define D_TIMER0_10MS_COUNT 1 //定时器为 10ms一中断
#endif///_TTSS_time_