I just posted STM32F4xxx (Cerberus) Timer Class - PWM, Pluse Train, custom OffSet between Timers on Codeshare. Feel free to discuss and make suggestions here.
I hope to be adding features to this class as time goes on. Things like Break Time or Delay for the trigger on the PWM.
Other things like One Pulse and others.
If you would like to see anything or have any additions or suggestions please let me know.
All the best