You are here

PWM interrupt issue | Cypress Semiconductor

PWM interrupt issue

Summary: 1 Reply, Latest post by U2 on 28 Mar 2011 02:53 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
SAN2884's picture
6 posts

Hi all,

          I'm using PWM to generate 1 sec delay.In the configure of PWM i made interrupt on terminal count.I know that API will give interrupt on period match.But for some condition i want to go for software polling.For this reason i want to know the status flag register,so that i disable the hardware interrupt and go for software poling using status register flag .Can you give me details on which flag correspond to PWM interrupt.And at the same time give me link which provide the details on PSoc3.

With regards



uday's picture
Cypress Employee
569 posts

Hi Santosh,

The Status register bits corresponding to the PWM, can be monitored using the API ,  PWM_ReadStatusRegister(void).

The terminal count bit in the status register is set when PWM modile reaches the terminal count. Please not that these bits are sticky- meaning these bits are cleared upon reading.


Log in to post new comments.