fast pwm

Dependents:   Quadrature_Test PID Flow measurement

Fork of FastPWM by Erik -

Files at this revision

API Documentation at this revision

Comitter:
benkatz
Date:
Mon Dec 07 08:24:27 2015 +0000
Parent:
25:8b1bf34c72aa
Commit message:
bayley halp;

Changed in this revision

Device/FastPWM_STM_TIM_PinOut.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8b1bf34c72aa -r f1eef5be0b5d Device/FastPWM_STM_TIM_PinOut.cpp
--- a/Device/FastPWM_STM_TIM_PinOut.cpp	Wed Sep 30 20:46:18 2015 +0000
+++ b/Device/FastPWM_STM_TIM_PinOut.cpp	Mon Dec 07 08:24:27 2015 +0000
@@ -54,7 +54,7 @@
 }
 #endif
 
-#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE
+#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE || defined TARGET_NUCLEO_F446RE
 __IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) {
     switch (pin) {
         // Channels 1 : PWMx/1