void RCC_GetClocksFreq(RCC_ClocksTypeDef* RCC_Clocks)
typedef struct { uint_t32 SYSCLK_Frequency; uint_t32 HCLK_Frequency; uint_t32 PCLK1_Frequency; uint_t32 PCLK2_Frequency; uint_t32 ADCCLK_Frequency; }RCC_ClocksTypeDef;
/* Get the frequencies of different on chip clocks */ RCC_ClocksTypeDef RCC_Clocks; RCC_GetClocksFreq(&RCC_Clocks);