timer1.h
来自「smart2300平台全部驱动例程 LPC2378所有中间件」· C头文件 代码 · 共 24 行
H
24 行
#ifndef __TIME0_H
#define __TIME0_H
#ifdef __cplusplus
extern "C" {
#endif
// 定时器初始化,设定预分频值
void Timer1_Init(uint32 nPreviousValue);
// 启动定时器,启动前计数会先被清0
void Timer1_StartCount(void);
// 停止定时器
void Timer1_StopCount(void);
// 获取定时器的当前计数
uint32 Timer1_GetCount(void);
#ifdef __cplusplus
}
#endif
#endif // __TIME0_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?