S12XE Interrupt Rising and Falling Edges

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S12XE Interrupt Rising and Falling Edges

跳至解决方案
558 次查看
rayhall
Contributor V

I  have eight signals on external pins (Port) and I want an interrupt on both rising and falling edges. I cannot find a way to do this. There are options for rising or falling, but not both ?

 

I do not want to capture or record the edges time periods. I just want an interrupt so I can add my own code related to the state of these eight pins.

 

Ray.

标签 (1)
0 项奖励
回复
1 解答
403 次查看
kef2
Senior Contributor V

TIM and ECT pins, input capture can be configured to interrupt on any edge.

在原帖中查看解决方案

0 项奖励
回复
1 回复
404 次查看
kef2
Senior Contributor V

TIM and ECT pins, input capture can be configured to interrupt on any edge.

0 项奖励
回复