- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This might sound like a novice question, but I need to use some basic system time functions to calculate the time between two points in software. What's the best way to do that in PSoC6? Is there a system clock? I need something accurate to the microsecond.
Thanks,
Nick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nick,
Yes, there is driver systick provided by PDL3.0.1. You can use the APIs(in cy_systick.c/h) provided to init systick (choose clock source / set reload interval / enable systick). Besides, you can set custom callback function called at interval reload value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nick,
Yes, there is driver systick provided by PDL3.0.1. You can use the APIs(in cy_systick.c/h) provided to init systick (choose clock source / set reload interval / enable systick). Besides, you can set custom callback function called at interval reload value.