Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FastIO FastPWM USBDevice
Fork of Pinscape_Controller by
NewPwm.cpp
00001 // New PWM Out implementation 00002 00003 #include "NewPwm.h" 00004 00005 // TPM Unit singletons. We have three singletons corresponding 00006 // to the three physical TPM units in the hardware. 00007 NewPwmUnit NewPwmUnit::unit[3]; 00008 00009 // System clock rate, in Hz 00010 uint32_t NewPwmUnit::sysClock; 00011 00012 // Default PWM period for new channels, in seconds 00013 float NewPwmUnit::defaultPeriod = 0.001f; 00014
Generated on Wed Jul 13 2022 03:30:11 by
1.7.2
