Library that allows for higher resolution and speed than standard mbed PWM library using same syntax (drop-in replacement).
Diff: Device/FastPWM_STM_TIM_PinOut.cpp
- Revision:
- 15:49a7eff133b3
- Parent:
- 13:cdefd9d75b64
- Child:
- 16:ec208b5ec0bb
--- a/Device/FastPWM_STM_TIM_PinOut.cpp Tue Sep 30 19:00:27 2014 +0000 +++ b/Device/FastPWM_STM_TIM_PinOut.cpp Wed Oct 01 18:20:41 2014 +0000 @@ -23,7 +23,7 @@ } #endif -#ifdef TARGET_NUCLEO_F401RE +#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE __IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) { switch (pin) { // Channels 1