Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
NewPwm/NewPwm.cpp
- Committer:
- mjr
- Date:
- 2019-03-01
- Revision:
- 98:4df3c0f7e707
- Parent:
- 94:0476b3e2b996
File content as of revision 98:4df3c0f7e707:
// New PWM Out implementation #include "NewPwm.h" // TPM Unit singletons. We have three singletons corresponding // to the three physical TPM units in the hardware. NewPwmUnit NewPwmUnit::unit[3]; // System clock rate, in Hz uint32_t NewPwmUnit::sysClock; // Default PWM period for new channels, in seconds float NewPwmUnit::defaultPeriod = 0.001f;