Dmitry Kovalev
/
LGfiltr
forkd
Fork of LGstaandart by
Diff: system_LPC17xx.c
- Revision:
- 124:9ae09249f842
- Parent:
- 123:6dd1df6230e9
- Child:
- 132:2c7bec5cf6fe
--- a/system_LPC17xx.c Thu Apr 07 20:16:24 2016 +0000 +++ b/system_LPC17xx.c Fri Apr 08 14:20:35 2016 +0000 @@ -322,7 +322,7 @@ // bits 0...14 - PLL0 multiplier value minus 1. Supported multiplier M range 6...512 // bits 16...23 - PLL0 Pre-Divider value minus 1. Supported divider N range 1...32 // Fcc0 = (2 * M * Fin) / N -#define PLL0CFG_Val 0x00050063//M - 100, N - 6, output = 2 * 100 * 12MHz / 6 = 400MHz +#define PLL0CFG_Val 0x00040055//M - 86, N - 5, output = 2 * 86 * 12MHz / 5 = 400MHz #define PLL1_SETUP 1 #define PLL1CFG_Val 0x00000023//M - 36, N - 1, output = 2 * 36 * 12MHz / 1 = 864MHz?