Buffered capture register

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 I was going throught the Datasheet of PSoC 4 Timer Counter Pulse Width Modulator (TCPWM), (Read Here). On page 32 a nice diagram is given to explain the working of the capture function in TCPWM, I'm sorry I couldn't post the picture here directly because I didn't read all the terms and conditions invloved in downloading the software, and registering for a cypress account!

   

It talks about a useful register called capture_b, is there any API call or any other way I can access this register. It'll make many functions very easy, like measuring width of a pulse. Instead of using two variables to store the two capture values, I can instead refer to capture and capture_b.

0 Likes
1 Reply
Anonymous
Not applicable

 I'm sorry, the required function call is TCPWM_ReadCaptureBuf() . You may delete this post down admin.

0 Likes