Sep 04, 2019
05:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2019
05:54 AM
My TCPWM runs with a 1kHz clock to count milliseconds. I want to read the counter value from time to time and calculate the difference,
resulting in milliseconds timespan. So I have no capture signal. But the API has only functions to read the capture registers, as I see.?
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 4 Architecture
- Tags:
- tcpwm
1 Solution
Sep 04, 2019
07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2019
07:24 AM
Hi RoJa_1564316,
Try using TCPWM_ReadCounter(void) to read the present counter value.
Pg 24 - https://www.cypress.com/file/220361/download
Regards,
Bragadeesh
Regards,
Bragadeesh
Bragadeesh
2 Replies
Sep 04, 2019
07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2019
07:24 AM
Hi RoJa_1564316,
Try using TCPWM_ReadCounter(void) to read the present counter value.
Pg 24 - https://www.cypress.com/file/220361/download
Regards,
Bragadeesh
Regards,
Bragadeesh
Bragadeesh
Sep 04, 2019
08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2019
08:54 AM
Oooops, I overlooked.