mbed-os/hal
Rafal Kula 07b841b08f [STM32Fxxx] Fix issue #816
Both STM32F0xx and STM32F1xx are using a 16-bit timer as a internal ticker
but the mBed ticker needs a 32-bit timer implementation, so the upper part
of that 32-bit timer is being calculated in software.

Software bug has been fixed where continous HIGH/LOW voltage levels
could be observerd for 65ms due to 16-bit timer overflow.

Now current value of TIM_MST->CNT is stored in cnt_val and is
updated in interrupt context only. This avoids master timer
overflow without SlaveCounter update.

This fix is only for platforms which already implements a 16-bit timer:
F103RB, F070RB, F030R8

Change-Id: I205c70ce155b373c6593ead93ade9ec38993f7f9
2016-05-23 16:02:25 +02:00
..
api semihost - fix inline __semihost for IAR (add static) 2016-05-23 09:50:20 +01:00
common Simplify layout: 2016-05-23 09:13:59 +01:00
hal Simplify layout: 2016-05-23 09:13:59 +01:00
targets [STM32Fxxx] Fix issue #816 2016-05-23 16:02:25 +02:00
.yotta_ignore Simplify layout: 2016-05-23 09:13:59 +01:00
CMakeLists.txt Simplify layout: 2016-05-23 09:13:59 +01:00
module.json Simplify layout: 2016-05-23 09:13:59 +01:00