//1.0的库,需要在stm32f10x_conf.h里面设置16M外部晶振 #define HSE_Value ((u32)16000000) /* Value of the External oscillator in Hz*/