Fork of original FastPWM libary from Sissors.
Dependents: PM2_Libary PM2_Libary
History
Bugfix.
2022-03-21, by pmic [Mon, 21 Mar 2022 14:03:24 +0000] rev 38
Bugfix.
Added write fcn for float inputs in FastPWM.
2022-03-21, by pmic [Mon, 21 Mar 2022 13:31:01 +0000] rev 37
Added write fcn for float inputs in FastPWM.
Added overloaded pulse function so it can be used with float values.
2022-01-24, by pmic [Mon, 24 Jan 2022 10:07:25 +0000] rev 36
Added overloaded pulse function so it can be used with float values.
Replace new/delete with malloc/free for void *. Deleting void pointer is undefined behavior in C++.
2019-10-30, by blaze [Wed, 30 Oct 2019 03:00:00 +0000] rev 35
Replace new/delete with malloc/free for void *. Deleting void pointer is undefined behavior in C++.
Removed wait statement which was for debug
2017-09-03, by Sissors [Sun, 03 Sep 2017 19:40:01 +0000] rev 34
Removed wait statement which was for debug
KSDK (K64F) update
2017-09-03, by Sissors [Sun, 03 Sep 2017 16:26:07 +0000] rev 33
KSDK (K64F) update
; Now it should properly synchronize PWM updates again
;
; Serious @mbed, clearing the timer is not a proper synchronisation mechanic for PWM!
Fixed issue where STM32 PWM on MCUs with high clock frequency could be a factor of two too fast
2017-01-01, by Sissors [Sun, 01 Jan 2017 14:37:55 +0000] rev 32
Fixed issue where STM32 PWM on MCUs with high clock frequency could be a factor of two too fast
Temporary fix for K64F with new mbed lib:
2016-09-06, by Sissors [Tue, 06 Sep 2016 20:17:21 +0000] rev 31
Temporary fix for K64F with new mbed lib:
; 1. KSDK funtions changed (fixed)
; 2. Mbed uses a completely different mode for the PWM, which screws up my code. (Temp fix, don't call write directly after setting a new period, but wait 1 pwm period)
Should fix for LPC824
2016-03-14, by Sissors [Mon, 14 Mar 2016 20:41:49 +0000] rev 30
Should fix for LPC824
Added LPC81x/LPC82x support
2016-03-13, by Sissors [Sun, 13 Mar 2016 11:43:18 +0000] rev 29
Added LPC81x/LPC82x support