Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
e9c01dea
Commit
e9c01dea
authored
Jan 21, 2014
by
mux
Browse files
Remove hardcoded PLL_M value
parent
7280f790
Changes
1
Hide whitespace changes
Inline
Side-by-side
stm/system_stm32f4xx.c
View file @
e9c01dea
...
...
@@ -54,9 +54,9 @@
*-----------------------------------------------------------------------------
* APB2 Prescaler | 2
*-----------------------------------------------------------------------------
* HSE Frequency(Hz) |
8000000 changed dpgeorge
* HSE Frequency(Hz) |
HSE_VALUE
*-----------------------------------------------------------------------------
* PLL_M |
8 changed dpgeorge
* PLL_M |
(HSE_VALUE/1000000)
*-----------------------------------------------------------------------------
* PLL_N | 336
*-----------------------------------------------------------------------------
...
...
@@ -251,7 +251,7 @@
/************************* PLL Parameters *************************************/
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
#define PLL_M
8
#define PLL_M
(HSE_VALUE/1000000)
/* USB OTG FS, SDIO and RNG Clock = PLL_VCO / PLLQ */
#define PLL_Q 7
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment