ARMmbed / mbed-hal-st-stm32f4

mbed HAL for ST STM32F4-series microcontrollers
Other
7 stars 21 forks source link

lp ticker impl #3

Closed 0xc0170 closed 9 years ago

0xc0170 commented 9 years ago

This provides lp ticker implementation for F4 devices. It is implemented on top of TIM2 general timer, RTC will come as replacement of this timer as we agreed.

Note - I was not able to find a timer which is not used by PWM, therefore we might want to disable TIM2 channels in pwm until RTC implementation for lp timer comes in.

I tested this with minar platform mbed.

@bremoran @bogdanm

bogdanm commented 9 years ago

I don't know much about the STM32 timers, but LGTM.

bogdanm commented 9 years ago

Assuming you tested this, +1