mirror of https://github.com/ARMmbed/mbed-os.git
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 |
||
|---|---|---|
| .. | ||
| api | ||
| common | ||
| hal | ||
| targets | ||
| .yotta_ignore | ||
| CMakeLists.txt | ||
| module.json | ||