Description: Library that allows for higher resolution and speed than standard mbed PWM library. Drop-in replacement, but will cause all other PWM objects to run 4 times faster.
FastPWM was originally intended to get maximum resolution on the PWM output, especially at high frequencies, and it should work nicely for that. However instead of using it as PWM source you can also make high frequency square waves with it, see: https://mbed.org/users/geotec/code/PwmOscillator/. The author of the library confirmed it does generate square waves up to 48MHz (Fclk/2). Take into account it can only make integer divisions of the clock rate, which is normally 96MHz.
Files at revision 3:3094d3806cfc
| Name | Size | Actions |
|---|---|---|
| 1821 | | |
| 3644 | |
