Announcements
Community Announcement : Welcome to the NEW Cypress Developer Community.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

RoJa_1564316
New Contributor

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.?

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator

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

View solution in original post

0 Likes
2 Replies