- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Cypress:
if the PSoC 4 CSD Comparator is belong to Capsense , if we use capsense as button or slider, so we can't use it as Comparator?? it will show the worng;
for some application , we not want to know about the detail voltage ,just want to know if the voltage is bigger or lower the fixed value, so the comparator, can you use
the capsense and comparator the same, tks;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
这个比较器是 CapSense 组件的一部分,如果已经使用了 CapSense 组件则该比较器不能复用。客户可以使用 LP Comparator, PSoC4000S 芯片里面有一个或者两个 LP Comparator 可以使用。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
这个比较器是 CapSense 组件的一部分,如果已经使用了 CapSense 组件则该比较器不能复用。客户可以使用 LP Comparator, PSoC4000S 芯片里面有一个或者两个 LP Comparator 可以使用。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LP Comparator 不需要什么代码,你在组件中按照需要配置完毕之后调用 Start API 即可。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Vison:
添加代码:
GSR_ISR_StartEx(ISR_GSR);
GSR_ISR_ClearPending();
LPComp_Start();
这样设计OK??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LP 中断的使用时对的,但是为何要在 LP中断函数中对 SW引脚进行清中断动作。每个中断都应该有自己的中断函数不是吗,中断函数之间尽量不要有耦合。