/*******************************************************************************
* Function Name : RCC_Configuration* Description : Configures the different system clocks.
* Input : None
* Output : None
* Return : None
*******************************************************************************/
void RCC_Configuration(void)
{
ErrorStatus HSEStartUpStatus;
RCC_DeInit(); /* RCC system reset(for debug purpose) RCC寄存器恢复初始化值*/
RCC_HSEConfig(RCC_HSE_ON); /* Enable HSE 使能外部高速晶振*/
HSEStartUpStatus = RCC_WaitForHSEStartUp(); /* Wait till HSE is ready 等待外部高速晶振使能完成*/
if(HSEStartUpStatus == SUCCESS)