Electrum PWM Example
From Manuals
(Difference between revisions)
Support (Talk | contribs)
(Created page with '=PWM Example= * [http://www.micromint.com/updates/electrum/pwm.tar.bz2 pwm.tar.bz2] Contributed by: Eugene Hutorny Attached archive contains source code for an application that…')
(Created page with '=PWM Example= * [http://www.micromint.com/updates/electrum/pwm.tar.bz2 pwm.tar.bz2] Contributed by: Eugene Hutorny Attached archive contains source code for an application that…')
Current revision as of 13:44, 14 November 2011
PWM Example
Contributed by: Eugene Hutorny
Attached archive contains source code for an application that sets up a given timer in wave generation mode. It is split on two parts - command line interface (pwm.c) and PWM API (pwm.h and pwm-at91.c).
Command line interface allows: - specify which timer counter to use - specify frequency or period, - specify duty cycle - start wave generation - stop generation - shutdown the timer
