代码拉取完成,页面将自动刷新
189
调整inputcapture接口
已关闭
PR description
[
1.原有inputcapture中断回调里面用到了ops成员,注册函数中却不支持ops的注册。
2.原有inputcapture不支持多通道,实际情况是一个定时器往往有多个捕获通道。
3.注册函数中添加ops注册,用于支持通道开/关等设置。
4.inputcapture使用正负值来表示高低点位,添加通道标识成员指示数据来源那个通道。
]
The following content must not be changed in the submitted PR message. Otherwise, the PR will be closed immediately. After submitted PR, please use a web browser to visit PR, and check items one by one, and ticked them if no problem.
The intent for your PR
Choose one (Mandatory):
- This PR is for a code-review and is intended to get feedback.
- This PR is mature, and ready to be integrated into the repo.
Code Quality:
As part of this pull request, I've considered the following:
- Already check the difference between PR and old code.
- The style guide is adhered to, including spacing, naming and other styles.
- All redundant code is removed and cleaned up.
- All modifications to BSP are justified and do not affect other components or BSPs.
- I've commented appropriately where code is tricky.
- Code in this PR is of high quality.