You are here

PWM and Counter - Difference | Cypress Semiconductor

Support & Community

PWM and Counter - Difference

Last Updated: December 30, 2011

What is the difference between a PWM and a Counter User Modules?


In hardware, the PWM and Counter are the same.  The PWM user module has been created just for convenience so that the user can use function names relevant to a PWM like WritePulseWidth.  The Counter user module also may be used to create a PWM, where you would use the WriteCompareValue API to change the pulsewidth.

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type