Hello,
I cannot get the TIM input capture interrupt to work. I have a square wave signal connected to pin PP0. I want an interrupt on both edges.
I have made a simple test project. I have attached the code.
Please do not mark this question as "Assumed Answered" until I confirm the answer is correct or solved.
Thank you,
Ray.
Original Attachment has been moved to: TIM_Capture.zip
解決済! 解決策の投稿を見る。
Have a look at PTRRR register. By default TIM is routed to port R.