How to just route some pin to some other pin?

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

How to just route some pin to some other pin?

233 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cyberstudio on Tue Jul 07 00:48:48 MST 2015
What is the simplest construct to make some output pin merely follow some input pin (as in a logic buffer passing some signal straight through). In particular the input pin could be the capture pin of a timer/counter and the output pin could be a match pin of the same timer/counter.

I was using the ENCC bit of CTCR to reset upon the falling edge and then use PWMC to make a match output go low when the falling edge reset happens, and then set the match register to 1 to raise the match output when the capture pin goes high. The timer/counter is set to counter mode. But it seems like ENCC and or PWMC does not work well with counter mode.

Thanks.
标签 (1)
0 项奖励
0 回复数