Fork of Erik Olieman's FastPWM library created to add the targets I need.

Fork of FastPWM by Erik -

Files at this revision

API Documentation at this revision

Comitter:
altaran
Date:
Mon Jan 12 10:31:18 2015 +0000
Parent:
20:3c609bc4ae9c
Commit message:
Added F072RB target, including PWMx/1N channels

Changed in this revision

Device/FastPWM_STM_TIM_PinOut.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 3c609bc4ae9c -r aa2884be5496 Device/FastPWM_STM_TIM_PinOut.cpp
--- a/Device/FastPWM_STM_TIM_PinOut.cpp	Tue Jan 06 14:32:49 2015 +0000
+++ b/Device/FastPWM_STM_TIM_PinOut.cpp	Mon Jan 12 10:31:18 2015 +0000
@@ -99,6 +99,8 @@
     switch (pin) {
         // Channels 1 : PWMx/1
         case PA_2: case PA_6: case PA_4: case PA_7: case PA_8: case PB_1: case PB_4: case PB_8: case PB_9: case PB_14: case PC_6:
+        // Channels 1N : PWMx/1N
+        case PA_1: case PB_6: case PB_7: case PB_13:
             return &pwm->CCR1;
         
         // Channels 2 : PWMx/2