增加精确延时函数
This commit is contained in:
12
include/time0.h
Normal file
12
include/time0.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _time0_H
|
||||
#define _time0_H
|
||||
|
||||
#include "public.h"
|
||||
|
||||
extern u16 time0_delay_cnt;
|
||||
|
||||
//函数声明
|
||||
void time0_init(void);
|
||||
void time0_delay1ms(u16 n);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user