Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Berekenen_motorhoek Encoder System_Identification Motor_PID_set_parameters ... more
Fork of FastPWM by
Diff: Device/FastPWM_STM_TIM.cpp
- Revision:
- 24:1f451660d8c0
- Parent:
- 22:db9c0cf445e2
- Child:
- 28:3c8a0d977bc3
--- a/Device/FastPWM_STM_TIM.cpp Sun Apr 19 19:35:50 2015 +0000 +++ b/Device/FastPWM_STM_TIM.cpp Sat Jun 20 20:03:16 2015 +0000 @@ -4,11 +4,7 @@ #include "FastPWM.h" -#if defined TARGET_NUCLEO_F103RB -typedef __IO uint16_t* CHANNEL_P_T; -#else typedef __IO uint32_t* CHANNEL_P_T; -#endif #define PWM_CHANNEL (**(CHANNEL_P_T*)fast_obj) #define PWM_TIMER ((TIM_TypeDef*)_pwm.pwm)