瀏覽代碼

晶振频率修改

main
the_deepest 1 周之前
父節點
當前提交
171cc958c4
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      cmsis/stm32f4xx.h
  2. +1
    -1
      cmsis/system_stm32f4xx.c

+ 1
- 1
cmsis/stm32f4xx.h 查看文件

@@ -97,7 +97,7 @@
*/

#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
#define HSE_VALUE ((uint32_t)12000000) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */

/**


+ 1
- 1
cmsis/system_stm32f4xx.c 查看文件

@@ -152,7 +152,7 @@

/************************* PLL Parameters *************************************/
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
#define PLL_M 25
#define PLL_M 12
#define PLL_N 336

/* SYSCLK = PLL_VCO / PLL_P */


Loading…
取消
儲存