本帖最后由 niuyaliang 于 2013-12-6 23:16 编辑
uint32_t SystemCoreClock = __HSI; /*!< System Clock Frequency (Core Clock) */
uint32_t CyclesPerUs = (__HSI / 1000000); /*!< Cycles per micro second */
uint32_t PllClock = __HSI; /*!< PLL Output Clock Frequency
#define __XTAL (12000000UL) /*!< External Crystal Clock Frequency */
#define __IRC22M (22118400UL) /*!< Internal 22M RC Oscillator Frequency */
#define __IRC10K (10000UL) /*!< Internal 10K RC Oscillator Frequency */
#define __HSI (50000000UL) /*!< PLL default output is 48MHz@12M X'tal or 48.065MHz@22.1184MHz IRC */
|