Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

定时器设备 #546

Merged
merged 7 commits into from
Sep 9, 2015
Merged

定时器设备 #546

merged 7 commits into from
Sep 9, 2015

Conversation

heyuanjie87
Copy link
Contributor

No description provided.

@heyuanjie87 heyuanjie87 changed the title For pull request 定时器设备 Sep 2, 2015
@heyuanjie87
Copy link
Contributor Author

把定时器实现为一个可读写设备。写入的为超时值,读出的为实际相对时间值。

'RT_USING_TIMER_DRIVER' 这个后缀与其它设备定义差别太大,HWTIMER既能区别出一般的soft timer又能相似于其它定义。

底层接口

  1. init和deinit这两个同类别的操作合并,以不同的参数区别。
  2. 取消设置超时接口,将其参数并入启动接口中

BernardXiong added a commit that referenced this pull request Sep 9, 2015
[DeviceDrivers] Add hardware timer framework
@BernardXiong BernardXiong merged commit 342e8d6 into RT-Thread:master Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants