2013-06-10 02:08 PM
2013-06-10 03:37 PM
Ok, it doesn't appear to be sufficiently complete to easily review/test. You need to make something that will compile.
Of the observations I can make quickly. You need to get the use of RCC_ClocksTypeDef RCC_Clocks; RCC_GetClocksFreq(&RCC_Clocks); out of the interrupt. Do it once, store it globally. You do not want to being doing serial output in the interrupt. You need to pick some unique global names, or static variables for some of the timer/interrupt specific measurements rather than mixing them all together.