Jun 23, 2022
04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 23, 2022
04:03 AM
Hi
There is a square waveform and I want to count the rising edge.
Because the rising edge may caused 2000 times every second, if use irq method, the RTOS may do a lot of context switch, and I think it may waster too much.
Does the AURIX platform have any function to count the rising edge?
Can IOM be used for this case?
Thanks a lot.
Solved! Go to Solution.
1 Solution
Jun 24, 2022
02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 24, 2022
02:42 AM
A submodule named TIEM(TIM Input Event Mode) in TIM can count the edge.
1 Reply