This website works better with JavaScript.
Home
Explore
Help
Sign In
fubowen
/
TrainCamp_fubowen_Modbus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
晶振频率修改
main
the_deepest
1 week ago
parent
7b4b0949cc
commit
171cc958c4
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cmsis/stm32f4xx.h
+1
-1
cmsis/system_stm32f4xx.c
+ 1
- 1
cmsis/stm32f4xx.h
View File
@@ -97,7 +97,7 @@
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)2
5
000000) /*!< Value of the External oscillator in Hz */
#define HSE_VALUE ((uint32_t)
1
2000000) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
/**
+ 1
- 1
cmsis/system_stm32f4xx.c
View File
@@ -152,7 +152,7 @@
/************************* PLL Parameters *************************************/
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
#define PLL_M 2
5
#define PLL_M
1
2
#define PLL_N 336
/* SYSCLK = PLL_VCO / PLL_P */
Write
Preview
Loading…
Cancel
Save